-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
141 lines (131 loc) · 6.1 KB
/
index.html
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="assets/styles/main.css">
<title>Dictionary Web App</title>
</head>
<body class="font--sans-serif">
<header class="header">
<div class="container">
<div class="header__wrapper">
<div class="header__logo">
<a href="/">
<img src="assets/images/logo.png" alt="logo">
</a>
</div>
<div class="header__widgets">
<div class="header__select" onclick="showSelect()">
<p class="header__select--selected body-m text-black-2d">
Sans Serif
</p>
<img src="assets/icons/select-icon.png" alt="icon">
<div class="header__selectors">
<ul>
<li>
<p class="body-m text-black-2d" onclick="setSelectorValue(event)">Sans Serif</p>
</li>
<li>
<p class="body-m text-black-2d" onclick="setSelectorValue(event)">Serif</p>
</li>
<li>
<p class="body-m text-black-2d" onclick="setSelectorValue(event)">Mono</p>
</li>
</ul>
</div>
</div>
<span></span>
<div class="header__toggle">
<div class="header__toggle__btn" onclick="darkMode()"><span></span></div>
<i class="fa-solid fa-moon" onclick="darkMode()"></i>
</div>
</div>
</div>
</div>
</header>
<div class="container">
<form class="form">
<input type="text" class="form__input" placeholder="Search for any word…">
<button class="form__search">
<img src="assets/icons/iconoir_search.png" alt="icon">
</button>
<span class="heading-s text-red">Whoops, can’t be empty…</span>
</form>
</div>
<div class="loader">
<div id="loading-bar-spinner" class="spinner">
<div class="spinner-icon"></div>
</div>
</div>
<div class="dictionary">
<!-- <div class="container">
<div class="dictionary__header">
<div class="dictionary__word">
<h1 class="heading-l text-black-2d">keyboard</h1>
<p class="dictionary__spelling heading-m text-purple">/ˈkiːbɔːd/</p>
</div>
<button class="dictionary__audio">
<i class="fa-sharp fa-solid fa-play"></i>
</button>
</div>
<div class="dictionary__meanings">
<div class="dictionary__part_of_speech">
<p class="heading-m text-black-2d">noun</p>
<span></span>
</div>
<div class="dictionary__meaning">
<p class="heading-s text-gray-bold">Meaning</p>
<ul>
<li>
<span></span>
<div>
<p class="body-m text-black-2d">(etc.) A set of keys used to operate a typewriter,
computer etc.</p>
<p class="body-m text-gray-bold">“Keyboarding is the part of this job I hate the most.”
</p>
</div>
</li>
<li>
<span></span>
<div>
<p class="body-m text-black-2d">(etc.) A set of keys used to operate a typewriter,
computer etc.</p>
<p class="body-m text-gray-bold">“Keyboarding is the part of this job I hate the most.”
</p>
</div>
</li>
</ul>
</div>
<div class="dictionary__synonym">
<p class="heading-s text-gray-bold">Synonyms</p>
<p class="heading-s text-purple bold"><a href="https://en.wiktionary.org/wiki/keyboard"
target="_blank">electronic keyboard</a></p>
</div>
</div>
<div class="dictionary__source">
<a href="https://en.wiktionary.org/wiki/keyboard" target="_blank"
class="body-s text-gray-bold">Source</a>
<a href="https://en.wiktionary.org/wiki/keyboard" target="_blank"
class="body-s text-black-2d">https://en.wiktionary.org/wiki/keyboard</a>
<a href="https://en.wiktionary.org/wiki/keyboard" target="_blank"><i
class="fa-solid fa-arrow-up-right-from-square"></i></a>
</div>
</div> -->
</div>
<div class="no_found container">
<img src="assets/icons/sticker.png" alt="smile">
<p class="text-black-2d heading-s bold">No Definitions Found</p>
<p class="body-m text-gray-bold">Sorry pal, we couldn't find definitions for the word you were looking for. You
can try the
search
again at later time or head to the web instead.</p>
</div>
<script src="js/font.js"></script>
<script src="js/main.js"></script>
</body>
</html>