-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
226 lines (208 loc) · 7.04 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
<!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" />
<meta name="author" content="Muhammad (Ravie) Haryansyah, study-hary-id" />
<meta
name="generator"
content="Muhammad (Ravie) Haryansyah, study-hary-id"
/>
<meta
name="description"
content="LIst of simple frontend applications using vanilla JavaScript, include navbar, sidebar, and common components on the web."
/>
<title>JavaScript Projects | Simple Applications</title>
<link rel="icon" href="assets/icons/favicon.ico" />
<link rel="stylesheet" href="assets/css/style.css" />
</head>
<body>
<div class="navbar">
<div class="container">
<a href="#" class="logo">Java<span>Script</span></a>
<img
src="assets/icons/menu.svg"
alt="menu"
id="mobile-cta"
class="mobile-menu"
/>
<nav>
<img
src="assets/icons/exit.svg"
alt="close"
id="mobile-exit"
class="mobile-menu-exit"
/>
<ul class="primary-nav">
<li class="current"><a href="#">Home</a></li>
<!-- <li><a href="#features">Features</a></li>
<li><a href="#testimonials">Testimonials</a></li> -->
</ul>
<ul class="secondary-nav">
<li><a href="#contact">Contact</a></li>
<!-- <li class="go-premium-cta"><a href="#">Go Premium</a></li> -->
</ul>
</nav>
</div>
</div>
<section class="hero">
<div class="container">
<div class="left-col">
<p class="subhead">It's Nitty & Gritty!</p>
<h1>JavaScript Projects</h1>
<div class="hero-cta">
<a href="#testimonials" class="primary-cta">See Projects</a>
<!-- <a href="#" class="watch-video-cta">
<img src="assets/icons/watch.svg" alt="Watch a video" />Watch a
video
</a> -->
</div>
</div>
<img
src="assets/images/javascript-logo-512.png"
alt="JavaScript logo"
class="hero-img"
/>
</div>
</section>
<!-- Warning: Section lacks heading. Consider using h2-h6 elements
to add identifying headings to all sections. -->
<!-- <section class="features-section" id="features">
<div class="container">
<ul class="features-list">
<li>Unlimited Tasks</li>
<li>SMS Task Reminders</li>
<li>Confetti Explosions upon Task Completions</li>
<li>Social Media Announcements</li>
<li>Real Time Collaboration</li>
<li>Other awesome features</li>
</ul>
<img src="assets/images/holding-phone.jpg" alt="Man holding phone" />
</div>
</section> -->
<!-- Warning: Section lacks heading. Consider using h2-h6 elements
to add identifying headings to all sections. -->
<section class="testimonials-section" id="testimonials">
<div class="container">
<ul>
<!-- Old card view box -->
<!-- <li>
<img src="assets/images/person.jpg" alt="Person" />
<blockquote>
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore"
</blockquote>
<cite>- Jane Doe</cite>
</li> -->
<li>
<div class="header">
<img
src="assets/images/javascript-logo-512.png"
alt="JavaScript logo"
/>
</div>
<div class="footer">Canvas Print Text</div>
</li>
<li>
<div class="header">
<img
src="assets/images/javascript-logo-512.png"
alt="JavaScript logo"
/>
</div>
<div class="footer">Custom HTML Dialog</div>
</li>
<li>
<div class="header">
<img
src="assets/images/javascript-logo-512.png"
alt="JavaScript logo"
/>
</div>
<div class="footer">Native Web Component</div>
</li>
<li>
<div class="header">
<img
src="assets/images/javascript-logo-512.png"
alt="JavaScript logo"
/>
</div>
<div class="footer">Canvas Print Text</div>
</li>
<li>
<div class="header">
<img
src="assets/images/javascript-logo-512.png"
alt="JavaScript logo"
/>
</div>
<div class="footer">Custom HTML Dialog</div>
</li>
<li>
<div class="header">
<img
src="assets/images/javascript-logo-512.png"
alt="JavaScript logo"
/>
</div>
<div class="footer">Native Web Component</div>
</li>
</ul>
</div>
</section>
<section class="contact-section" id="contact">
<div class="container">
<div class="contact-left">
<h2>Contact</h2>
<form action="javascript:void(0)">
<label for="name">Name</label>
<input type="text" id="name" name="name" placeholder="Your name" />
<label for="email">Email</label>
<input
type="email"
id="email"
name="email"
placeholder="Your email"
/>
<label for="message">Message</label>
<textarea
id="message"
name="message"
cols="30"
rows="10"
placeholder="Your message"
></textarea>
<input
type="submit"
class="send-message-cta"
value="Send message"
/>
</form>
</div>
<div class="contact-right">
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d63429.66620103052!2d106.92490069050626!3d-6.476750915799924!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2e69bfb4b9d3383b%3A0xae77319798b605c8!2sKelapa%20Nunggal%2C%20Kec.%20Klapanunggal%2C%20Kabupaten%20Bogor%2C%20Jawa%20Barat!5e0!3m2!1sid!2sid!4v1647933913876!5m2!1sid!2sid"
width="600"
height="450"
style="border: 0"
allowfullscreen=""
loading="lazy"
></iframe>
</div>
</div>
</section>
<script>
const mobileBtn = document.getElementById("mobile-cta"),
nav = document.querySelector("nav"),
mobileBtnExit = document.getElementById("mobile-exit");
mobileBtn.addEventListener("click", () => {
nav.classList.add("menu-btn");
});
mobileBtnExit.addEventListener("click", () => {
nav.classList.remove("menu-btn");
});
</script>
</body>
</html>