-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
163 lines (149 loc) · 8.49 KB
/
index.html
File metadata and controls
163 lines (149 loc) · 8.49 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Intro to Javascript</title>
<link rel="shortcut icon" href="img/favicon/favicon-32x32.png" type="image/x-icon" />
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
<!-- <link rel="stylesheet" data-purpose="Layout StyleSheet" title="Web Awesome"
href="/css/app-wa-d53d10572a0e0d37cb8d614a3f177a0c.css?vsn=d"> -->
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.5.2/css/all.css">
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.5.2/css/sharp-thin.css">
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.5.2/css/sharp-solid.css">
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.5.2/css/sharp-regular.css">
<link rel="stylesheet" href="https://site-assets.fontawesome.com/releases/v6.5.2/css/sharp-light.css">
<link rel="stylesheet" href="style.css">
</head>
<body id="">
<aside class="side-nav">
<nav>
<span class="top-section">
<img src="img/icons8-javascript-100.png" alt="Javascript Logo" class="nav-logo">
<div class="nav-links-container">
<a href="index.html" class="nav-links"><i class="fa-duotone fa-house"
style="--fa-primary-color: #000000; --fa-secondary-color: #ffd600; --fa-secondary-opacity: 1;"></i></a>
<div class="dropdown" id="dropdown">
<a href="javascript:void(0)" class="nav-links"><i class="fa-duotone fa-chalkboard-user"
style="--fa-primary-color: #000000; --fa-secondary-color: #ffd600; --fa-secondary-opacity: 1;"></i>
<span class="nav-link-text">
<!-- Activities -->
</span></a>
<div class="dropdown-content" id="dropdown-content">
<a href="class_activity_1.html">Class Activity 1</a>
<a href="class_activity_2.html">Class Activity 2</a>
<a href="class_activity_3.html">Class Activity 3</a>
</div>
</div>
<div class="dropdown" id="dropdown">
<a href="javascript:void(0)" class="nav-links"><i class="fa-duotone fa-clipboard-check"
style="--fa-primary-color: #000000; --fa-secondary-color: #ffd600; --fa-secondary-opacity: 1;"></i>
<span class="nav-link-text">
<!-- Assignments -->
</span></a>
<div class="dropdown-content" id="dropdown-content">
<a href="class_activity_1.html">Class Activity 1</a>
<a href="class_activity_2.html">Class Activity 2</a>
<a href="class_activity_3.html">Class Activity 3</a>
</div>
</div>
<div class="dropdown" id="dropdown">
<a href="javascript:void(0)" class="nav-links"><i class="fa-duotone fa-gear "
style="--fa-primary-color: #000000; --fa-secondary-color: #ffd600; --fa-secondary-opacity: 1;"></i>
<span class="nav-link-text">
<!-- Projects -->
</span></a>
<div class="dropdown-content" id="dropdown-content">
<a href="class_activity_1.html">Class Activity 1</a>
<a href="class_activity_2.html">Class Activity 2</a>
<a href="class_activity_3.html">Class Activity 3</a>
</div>
</div>
<a href="javascript:void(0)" class="nav-links"><i class="fa-duotone fa-user-tie"
style="--fa-primary-color: #000000; --fa-secondary-color: #ffd600; --fa-secondary-opacity: 1;"></i>
<span class="nav-link-text">
<!-- Activities -->
</span>
</a>
<a href="https://thehtmlcourse.vercel.app/" class="nav-links solid-white" target="_blank"><i
class="fa-brands fa-html5" style="color: #000;"></i>
<span class="nav-link-text">
<!-- Html Course -->
</span>
</a>
<a href="https://thecsscourse.vercel.app/" class="nav-links solid-white" target="_blank"><i
class="fa-brands fa-css3-alt" style="color: #000;"></i>
<span class="nav-link-text">
<!-- Css Course -->
</span>
</a>
</div>
</span>
<span class="bottom-section">
<div class="nav-links-container">
<a href="https://github.com/dDevAhmed/frontend_development_javascript_course"
class="nav-links solid-white" target="_blank"><i class="fa-brands fa-github"
style="color: #000;"></i></a>
<a href="#" class="nav-links" id="light-mode" title="Night Mode"><i class="fa-duotone fa-lightbulb"
style="--fa-primary-color: #000000; --fa-secondary-color: #ffd600; --fa-secondary-opacity: 1;"></i></a>
</div>
</span>
</nav>
</aside>
<main class="main-container">
<header>
<span class="page-title">
<h3 id="head">Home</h3>
</span>
<span class="navigation">
<!-- <a href="#"><i class="fa-regular fa-angle-left"></i></a> -->
<a href="class_activity_1.html">1</a>
<a href="class_activity_2.html">2</a>
<a href="class_activity_3.html">3</a>
<a href="class_activity_4.html">4</a>
<a href="class_activity_5.html">5</a>
<a href="class_activity_1.html"><i class="fa-regular fa-angle-right"></i></a>
</span>
</header>
<section class="body-content">
<div class="index-container">
<span class="">
<h1 id="name">Hello <span class="stranger-name" id="stranger-name">there</span> 👋</h1>
<p class="">Enter your name to begin </p>
<input type="text" id="stranger-name-input" class="stranger-name-input" autofocus>
</span>
<p id="course-description">Welcome to my
JavaScript journey! Throughout this adventure, I've tackled class activities that challenged my
brain, completed assignments that tested my mettle, and embarked on projects that turned mere ideas
into digital realities. From crafting interactive web pages to solving complex coding puzzles, I've
witnessed the wonders of JavaScript firsthand. Join me as I share the highs, the lows, and the
humorous hiccups along the way. Buckle up, because this JavaScript ride is anything but boring!</p>
</div>
</section>
<footer>
<!-- fixme - repo link -->
<p>Page's <a href="#">Repo</a></p>
</footer>
</main>
<!-- <p id="return-only-content">Return only content</p>
<p id="return-content-element">Return only content</p> -->
<script src="script.js"></script>
<script>
let showLorem = document.getElementById('show-lorem');
let hideLorem = document.getElementById('hide-lorem');
let strangerNameInput = document.getElementById('stranger-name-input');
let strangerName = document.getElementById('stranger-name');
strangerNameInput.addEventListener('input', () => {
strangerName.innerText = strangerNameInput.value;
});
showLorem.addEventListener('click', () => {
loremPara.style.display = 'block';
hideLorem.style.display = 'block';
});
hideLorem.addEventListener('click', () => {
loremPara.style.display = 'none';
hideLorem.style.display = 'none';
});
</script>
</body>
</html>