-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
210 lines (178 loc) · 10.2 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WORDO</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="css/all.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap">
</head>
<body>
<!-- Overall Container -->
<div class="container">
<p id="warning" class="warning"> Error message is logged here </p>
<div id="messages" class="messages">
<section id="loader" class="messages__loader"></section>
<section id="search-tip" class="messages__search-tip fade-in">
<span class="messages__search-tip--search-icon"><i class="fa fa-search"></i></span>
<p class="messages__text-tip">hit the search bar below to <br> start searching</p>
</section>
<section id="connection-tip" class="messages__connection-tip">
<span class="messages__connection-tip--wifi-icon"><i class="fa fa-wifi"></i></span>
<p class="messages__text-tip">oops! connection error <br>please check your connection <br>and try again</p>
</section>
</div>
<div id="intro-view" class="intro-view">
<section id="intro-message" class="intro-message">
<h2 id="logo" class="intro-message__logo fade-in-logo">wordo</h2>
<p id="about-wordo" class="intro-message-text slide-in-text">
Wordo is a simple dictionary with thousands of words whose
definitions and other meaningful info attached to it you can
access from your device.
</p>
<button id="intro-explore-btn" class="intro-message__explore">EXPLORE <i class="fa fa-angle-right"></i></button>
</section>
<section id="intro-body" class="intro-body">
<div class="swipe-container">
<span class="swipe-container__swipe"><i class="fa fa-arrow-left"></i></span>
<p class="swipe-container__swipe">swipe</p>
<span class="swipe-container__swipe"><i class="fa fa-arrow-right"></i></span>
</div>
<div class="intro-images-container">
<section id="dog" class="intro-images dog">
<p class="intro-image__text">
<span class="intro-image-text--word">DOG</span> <br>
/ 'dog / <br>
a highly variable domestic mammal <br>
(canis familiaris) closely related to <br>
the gray wolf. <br><br>
<strong>Example</strong><br>
Kobby is a good dog, she likes <br>
reading and swimming. <br>
</p>
</section>
<section id="home" class="intro-images home">
<p class="intro-image__text">
<span class="intro-image-text--word">HOME</span> <br>
/ 'hom / <br>
the place (such as house or apartment where) <br>
someone lives.<br><br>
<strong>Example</strong><br>
My home is beautiful, I live with my family<br>
in it and we are very happy! <br>
</section>
<section id="sing" class="intro-images sing">
<p class="intro-image__text">
<span class="intro-image-text--word">SING</span> <br>
/sin/ <br>
to use your voice to make musical sounds in <br>
the form of a somg or tune.<br><br>
<strong>Example</strong><br>
Asides coding, I play the piano while I sing <br>
my favorite songs. <br>
</p>
</section>
</div>
<button id="intro-view-explore-btn" class="intro-view__explore">EXPLORE <i class="fa fa-angle-right"></i></button>
</section>
</div>
<div id="main-view" class="main-view slide-element-in">
<section id="menu" class="menu">
<ul class="menu-options">
<li id="words-saved-link" class="words-saved">
<span class="menu-options__saved-icon"><i class="fa fa-bookmark"></i></span>
<p class="menu-options__saved"> Words you saved </p>
</li>
<li id="word-of-the-day" class="wotd">
<span class="menu-options__wotd-icon"><i class="fa fa-th-large"></i></span>
<p class="menu-options__wotd"> Word of the day </p>
</li>
</ul>
<span id="close-menu" class="menu__remove-icon"><i class="fa fa-times"></i></span>
</section>
<section class="nav">
<h4 class="nav__logo-text">wordo</h4>
<span id="menu-icon" class="nav__menu-icon"><i class="fa fa-grip-lines"></i></span>
</section>
<div id="main-body" class="main-body">
<!-- the children elements will be generated by javascript -->
<section id="definitions" class="definitions-container">
<h4 class="definitions-container__header">Definitions</h4>
<p class="definitions-container__text">to plan and make decisions about something that is being built or created.</p>
<p class="definitions-container__text">to plan and make something for a specific purpose.</p>
</section>
<section class="examples-overall-container">
<h4 class="examples-overall-container__header">Examples</h4>
<div class="example-container">
<section class="example">
<p class="example__text">
Good designers design applications like this, so applaud one when you see one.
</p>
</section>
<section class="example">
<p class="example__text">
I enjoy using adobe to design stuffs like logos, flyers and labels.
</p>
</section>
<section class="example">
<p class="example__text">
Good designers design applications like this, so applaud one when you see one.
</p>
</section>
<section class="example">
<p class="example__text">
I enjoy using adobe to design stuffs like logos, flyers and labels.
</p>
</section>
</div>
</section>
<section class="syllables-container">
<h4 class="syllables-container__header">Syllables</h4>
<div class="syllables">
<p class="syllables__word">de-sign</p>
<p class="syllables__count">2</p>
</div>
</section>
<section class="synonym-antonym">
<h4 class="synonym-antonym__header">Synonyms</h4>
<div class="synonyms">
<p class="synonyms__text">plan, blueprint, drawing, sketchplan </p>
</div>
<hr class="synonym-antonym__divider"/>
<h4 class="synonym-antonym__header">Antonyms</h4>
<div class="synonyms">
<p class="synonyms__text">none</p>
</div>
</section> -->
</div>
<section class="search-utils">
<p id="recent-search-header" class="search-utils__header">Recently searched</p>
<div id="recent-search" class="recent-search-container">
<!-- the children elements will be generated by javascript -->
</div>
<div class="search-container">
<input type="text" id="user-input" class="search-container__input" placeholder="search">
<span id="search-btn" class="search-container__botton"><i class="fa fa-search"></i></span>
</div>
</section>
</div>
<div id="bookmark-view" class="bookmark-view">
<section class="bookmark-header-container">
<span id="bookmark-exit-btn" class="bookmark-header-container__return-icon"><i class="fa fa-arrow-left"></i></span>
<h4 class="bookmark-header-container__header">Words you saved</></h4>
<span class="bookmark-header-container__bookmark-icon"><i class="fa fa-bookmark"></i></span>
</section>
<section id="saved-words-container" class="saved-words-container">
<div id="saved-words-message" class="saved-words-message">
<span class="saved-words-message__exclamation-icon"><i class="fa fa-exclamation-circle"></i></span>
<p class="saved-words-message__message-text">you haven't saved any word yet, <br> go ahead save some words you'd <br> like to remember</p>
</div>
<!-- the children elements will be generated by javascript -->
</section>
</div>
</div>
<script type="module" src="app.js"></script>
<script type="module" src="processData.js"></script>
</body>
</html>