-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (64 loc) · 2.34 KB
/
index.html
File metadata and controls
73 lines (64 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="description" content="An online dictionary website built and designed by Linyin Huang using Vanilla JavaScript" />
<meta name="author" content="Linyin Huang">
<meta property="og:site_name" content="Linyin Huang" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Linyin Huang | An aspiring front-end developer" />
<meta property="og:description"
content="An online dictionary website built and designed by Linyin Huang using Vanilla JavaScript" />
<meta property="og:url" content="https://pdji1602003.github.io/dictionary/" />
<meta property="og:image" content="img/cover-photo.jpg" />
<title>Dictionary</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js"></script>
<script defer src="script.js"></script>
</head>
<body>
<main>
<div class="container">
<div class="time">12:30</div>
<div class="greeting">Good afternoon!</div>
<form class="search-form" action="/">
<label class="search-input-label">
<input class="search-input" type="text" placeholder="Type a word here..." required>
<button class="search-btn" type="submit">
<i class="fa fa-search fa-lg"></i>
</button>
</label>
<br>
<label class="search-select-label">Select Language :</label>
<select class="search-select" id="lang-select">
<option value="en">English</option>
<option value="fr">French</option>
</select>
</form>
<div class="result">
<p class="result-word"></p>
<ul id="output">
<!-- <li class="result-sentence"></li>
<li class="result-sentence"></li> -->
</ul>
</div>
</div>
<!-- popup -->
<div class="overlay" data-active="false">
<div class="popup">
<div class="popup-header">
<h2>Oops!</h2>
<a class="close">×</a>
</div>
<div class="popup-content">
<p>Sorry, we could not find the word you were looking for.</p>
<p>Please check your spelling or try with another word.</p>
</div>
</div>
</div>
</main>
</body>
</html>