-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
282 lines (271 loc) · 14.7 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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<!doctype html>
<html lang="en">
<!-- TODO: Downsize Project Gallery showcase images to improve kb size and performance -->
<!-- TODO: Major UI Update Overhaul -->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="JavaScript DOM Project Examples">
<meta name="author" content="Jordon Garcia">
<title>JavaScript Projects</title>
<!-- TailWindCSS -->
<link href="./src/css/tailwind.css" rel="stylesheet">
</head>
<body>
<div class="bg-gray-900">
<div class="mx-auto py-12 px-4 max-w-7xl sm:px-6 lg:px-8 lg:py-24">
<div class="space-y-12">
<div class="space-y-5 sm:space-y-4 md:max-w-xl lg:max-w-3xl xl:max-w-none">
<h2 class="text-3xl font-extrabold text-white tracking-tight sm:text-4xl">JavaScript Projects Gallery</h2>
<p class="text-xl text-gray-300">Simple JavaScript DOM project examples.</p>
</div>
<ul role="list" class="space-y-4 sm:grid sm:grid-cols-2 sm:gap-6 sm:space-y-0 lg:grid-cols-3 lg:gap-8">
<!-- Project A Start -->
<li class="py-10 px-6 bg-gray-800 text-center rounded-md xl:px-10 xl:text-left">
<a href="./src/projects/projectA.html">
<div class="space-y-6 xl:space-y-10">
<img class="select-none mx-auto h-auto w-auto rounded-md" src="./src/img/projectA.png"
alt="Project A Image">
<div class="space-y-2 xl:flex xl:items-center xl:justify-between">
<div class="font-medium text-lg leading-6 space-y-1">
<h3 class="text-white">Background Color Change</h3>
<p class="text-indigo-400">View Project & Source</p>
</div>
<ul role="list" class="flex justify-center space-x-5">
<li>
<!-- TODO: Bundle the scripts within vite, so you don't need long github links. -->
<a href="./src/projects/projectA.html" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">View Project</span>
<!-- Project Href Icon Start -->
<div title="View Project">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M7 12l3-3 3 3 4-4M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z" />
</svg>
</div>
<!-- Project Href Icon End -->
</a>
</li>
<li>
<a href="https://raw.githubusercontent.com/JordonGarcia/JavacriptDomExamples/master/src/js/projectA.js"
target="_blank" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">View Source Code</span>
<!-- Source Code Href Icon Start -->
<div title="View Source Code">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4" />
</svg>
</div>
<!-- Source Code Href Icon End -->
</a>
</li>
</ul>
</div>
</div>
</a>
</li>
<!-- Project A End -->
<!-- Project B Start -->
<li class="py-10 px-6 bg-gray-800 text-center rounded-md xl:px-10 xl:text-left">
<a href="./src/projects/projectB.html">
<div class="space-y-6 xl:space-y-10">
<img class="select-none mx-auto h-auto w-auto rounded-md" src="./src/img/projectB.png"
alt="Project B Image">
<div class="space-y-2 xl:flex xl:items-center xl:justify-between">
<div class="font-medium text-lg leading-6 space-y-1">
<h3 class="text-white">Input Slider Background</h3>
<p class="text-indigo-400">View Project & Source</p>
</div>
<ul role="list" class="flex justify-center space-x-5">
<li>
<a href="./src/projects/projectB.html" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">View Projects</span>
<!-- Project Href Icon Start -->
<div title="View Project">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M7 12l3-3 3 3 4-4M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z" />
</svg>
</div>
<!-- Project Href Icon End -->
</a>
</li>
<li>
<a href="https://raw.githubusercontent.com/JordonGarcia/JavacriptDomExamples/master/src/js/projectB.js"
target="_blank" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">View Source Code</span>
<!-- Source Code Href Icon Start -->
<div title="View Source Code">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4" />
</svg>
</div>
<!-- Source Code Href Icon End -->
</a>
</li>
</ul>
</div>
</div>
</a>
</li>
<!-- Project B End -->
<!-- Project C Start -->
<li class="py-10 px-6 bg-gray-800 text-center rounded-md xl:px-10 xl:text-left">
<a href="./src/projects/projectC.html">
<div class="space-y-6 xl:space-y-10">
<img class="select-none mx-auto h-auto w-auto rounded-md" src="./src/img/projectC.png"
alt="Project C Image">
<div class="space-y-2 xl:flex xl:items-center xl:justify-between">
<div class="font-medium text-lg leading-6 space-y-1">
<h3 class="text-white">Javascript Counter</h3>
<p class="text-indigo-400">View Project & Source</p>
</div>
<ul role="list" class="flex justify-center space-x-5">
<li>
<a href="./src/projects/projectC.html" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">View Projects</span>
<!-- Project Href Icon Start -->
<div title="View Project">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M7 12l3-3 3 3 4-4M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z" />
</svg>
</div>
<!-- Project Href Icon End -->
</a>
</li>
<li>
<a href="https://raw.githubusercontent.com/JordonGarcia/JavacriptDomExamples/master/src/js/projectC.js"
target="_blank" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">View Source Code</span>
<!-- Source Code Href Icon Start -->
<div title="View Source Code">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4" />
</svg>
</div>
<!-- Source Code Href Icon End -->
</a>
</li>
</ul>
</div>
</div>
</a>
</li>
<!-- Project C End -->
<!-- Project D Start -->
<li class="py-10 px-6 bg-gray-800 text-center rounded-md xl:px-10 xl:text-left">
<a href="./src/projects/projectD.html">
<div class="space-y-6 xl:space-y-10">
<img class="select-none mx-auto h-auto w-auto rounded-md" src="./src/img/projectD.png"
alt="Project D Image">
<div class="space-y-2 xl:flex xl:items-center xl:justify-between">
<div class="font-medium text-lg leading-6 space-y-1">
<h3 class="text-white">Time and Speed Distance Calculator</h3>
<p class="text-indigo-400">View Project & Source</p>
</div>
<ul role="list" class="flex justify-center space-x-5">
<li>
<a href="./src/projects/projectD.html" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">View Projects</span>
<!-- Project Href Icon Start -->
<div title="View Project">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M7 12l3-3 3 3 4-4M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z" />
</svg>
</div>
<!-- Project Href Icon End -->
</a>
</li>
<li>
<a href="https://raw.githubusercontent.com/JordonGarcia/JavacriptDomExamples/master/src/js/projectD.js"
target="_blank" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">View Source Code</span>
<!-- Source Code Href Icon Start -->
<div title="View Source Code">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4" />
</svg>
</div>
<!-- Source Code Href Icon End -->
</a>
</li>
</ul>
</div>
</div>
</a>
</li>
<!-- Project D End -->
<!-- Project E Start -->
<li class="py-10 px-6 bg-gray-800 text-center rounded-md xl:px-10 xl:text-left">
<a href="./src/projects/projectE.html">
<div class="space-y-6 xl:space-y-10">
<img class="select-none mx-auto h-auto w-auto rounded-md" src="./src/img/projectE.png"
alt="Project E Image">
<div class="space-y-2 xl:flex xl:items-center xl:justify-between">
<div class="font-medium text-lg leading-6 space-y-1">
<h3 class="text-white">Number Guess Game</h3>
<p class="text-indigo-400">View Project & Source</p>
</div>
<ul role="list" class="flex justify-center space-x-5">
<li>
<a href="./src/projects/projectE.html" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">View Projects</span>
<!-- Project Href Icon Start -->
<div title="View Project">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M7 12l3-3 3 3 4-4M8 21l4-4 4 4M3 4h18M4 4h16v12a1 1 0 01-1 1H5a1 1 0 01-1-1V4z" />
</svg>
</div>
<!-- Project Href Icon End -->
</a>
</li>
<li>
<a href="https://raw.githubusercontent.com/JordonGarcia/JavacriptDomExamples/master/src/js/projectE.js"
target="_blank" class="text-gray-400 hover:text-gray-300">
<span class="sr-only">View Source Code</span>
<!-- Source Code Href Icon Start -->
<div title="View Source Code">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round"
d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4" />
</svg>
</div>
<!-- Source Code Href Icon End -->
</a>
</li>
</ul>
</div>
</div>
</a>
</li>
<!-- Project E End -->
<!-- Coming Soon Start -->
<li class="py-10 px-6 bg-gray-800 text-center rounded-md xl:px-10 xl:text-left">
<div class="font-semibold text-lg leading-6 space-y-1">
<h3 class="text-white">More Projects Coming. Stay Tuned.</h3>
</div>
</li>
<!-- Coming Soon End -->
</ul>
</div>
</div>
</div>
</body>
</html>