-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
158 lines (137 loc) · 6.32 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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8' />
<meta name='viewport' content='width=device-width, minimum-scale = 1.0, initial-scale = 1.0, maximum-scale = 5.0, user-scalable=yes, shrink-to-fit=no'/>
<meta name='description' content='Google fonts clone made for the pre-work session of Chingu Voyage 13'/>
<link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap' rel='stylesheet'/>
<link href='https://fonts.googleapis.com/css?family=Chilanka|Gayathri|Lato|Manjari|Montserrat|Open+Sans&display=swap' rel='stylesheet'/>
<link href='https://fonts.googleapis.com/css?family=Roboto+Condensed&display=swap' rel='stylesheet'/>
<script src='https://kit.fontawesome.com/102a8e9465.js' crossorigin='anonymous'></script>
<link rel='stylesheet' href='main.css'/>
<title>Favorite Fonts</title>
<link rel='shortcut icon' href='assets/favicon.ico'>
<link rel='apple-touch-icon' sizes='180x180' href='assets/apple-touch-icon.png'>
</head>
<body>
<header class='header'>
<section class='header-bar'>Google <span class='fonts-t'>Fonts</span>
<div class='links'>
<span id='current'>Catalog</span>
<span>Featured</span>
<span>Articles</span>
<span id='last'>About</span>
</div>
</section>
</header>
<hr>
<div class='nav-bar'>
<form id='search'>
<i class='fa fa-search' id='search-g'></i>
<input type='search' id='search-font' onkeyup='search()' placeholder='Search font'>
</form>
<div class='vertical-line'></div>
<form id='text-input'>
<input type='text' id='text-input' onkeyup='typeSomething()' name='sentence'placeholder='Type something'>
</form>
<div class='vertical-line'></div>
<select class='select' id='font-s' onchange='changeSize()'>
<option value='10px'>10px</option>
<option value='15px'>15px</option>
<option value='20px' selected='selected'>20px</option>
<option value='25px'>25px</option>
<option value='30px'>30px</option>
<option value='35px'>35px</option>
<option value='40px'>40px</option>
<option value='100px'>100px</option>
</select>
<label class="theme-switch" for="submit"> <button type='submit' class='color-mode' id="light-mode" onClick="lightTheme()"><i class="far fa-circle fa-lg"></i></button></label>
<label class="theme-switch" for="submit"><button type='submit' class='color-mode' id="dark-mode" onClick="darkTheme()"><i class="fas fa-circle fa-lg"></i></button></label>
<label class="to-list" for="submit"><button type='submit' class='grid-change' id='grid'><i class='fas fa-list fa-lg'></i></button></label>
<!-- <label class="to-grid" for="submit"><button type='submit' class='list-change' id='list' onClick="list()"><i class='fas fa-border-all fa-lg'></i></button></label>
--> <button type='submit' class='reload-button' onClick='refreshPage()'><i class='fas fa-redo fa-lg'></i></button>
</div>
</section>
<button id="arrow-button" onClick="goUp()"><i class="fas fa-arrow-circle-up fa-lg"></i></button>
<main>
<ul id="fonts" class='grid'>
<li class='columm'>
<hr class='font-line'>
<i class='fas fa-plus-circle'></i>
<h1 class='font'>Roboto</h1>
<h2 class='author'>Christian Robertson</h2>
<div class='text-i' id='text'>
I watched the storm, so beautiful yet terrific.
</div>
</li>
<li class='columm'>
<hr class='font-line'>
<i class='fas fa-plus-circle'></i>
<h1 class='font'>Gayathri</h1>
<h2 class='author'>SMC</h2>
<div class='text-i' id='text2'>
I watched the storm, so beautiful yet terrific.
</div>
</li>
<li class='columm'>
<hr class='font-line'>
<i class='fas fa-plus-circle'></i>
<h1 class='font'>Chilanka</h1>
<h2 class='author'>SMC</h2>
<div class='text-i' id='text3'>
I watched the storm, so beautiful yet terrific.
</div>
</li>
<li class='columm'>
<hr class='font-line'>
<i class='fas fa-plus-circle'></i>
<h1 class='font'>Open Sans</h1>
<h2 class='author'>Steve Mattenson</h2>
<div class='text-i' id='text4'>I watched the storm, so beautiful yet terrific.
</div>
</i>
<li class='columm'>
<hr class='font-line'>
<i class='fas fa-plus-circle'></i>
<h1 class='font'>Lato</h1>
<h2 class='author'>Lukasz Dziedzic</h2>
<div class='text-i' id='text5'>
I watched the storm, so beautiful yet terrific.
</div>
</li>
<li class='columm'>
<hr class='font-line'>
<i class='fas fa-plus-circle'></i>
<h1 class='font'>Manjari</h1>
<h2 class='author'>Santhosh Thottingal</h2>
<div class='text-i' id='text6'>
I watched the storm, so beautiful yet terrific.
</div>
</li>
<li class='columm'>
<hr class='font-line'>
<i class='fas fa-plus-circle'></i>
<h1 class='font'>Montserrat</h1>
<h2 class='author'>Julieta Ulanovsky</h2>
<div class='text-i' id='text7'>
I watched the storm, so beautiful yet terrific.
</div>
</li>
<li class='columm'>
<hr class='font-line'>
<i class='fas fa-plus-circle'></i>
<h1 class='font'>Roboto Condensed</h1>
<h2 class='author'>Christian Robertson</h2>
<div class='text-i' id='text8'>
I watched the storm, so beautiful yet terrific.
</div>
</li>
</ul>
</main>
<button id="arrow-button" onClick="goUp()"><i class="fas fa-arrow-circle-up fa-lg"></i></button>
<footer>
<h5>Coded by <a href='https://github.com/gemasegarra'>Gema S.</a> | 2019-2022 | Chingu Prework Project V13</h5>
</footer>
<script src='index.js'></script>
</body>
</html>