-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathday4.html
37 lines (36 loc) · 1.84 KB
/
day4.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
<!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">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Silkscreen&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles4.css">
<title>30DAYSOFCODE</title>
</head>
<body>
<nav>
<h1 class="navLogo">30DAYSOFCODE</h1>
<ul class="navItems">
<a href="index.html"><li><<</li></a>
<a id="toPrevious"><li><</li></a>
<a id="toNext"><li>></li></a>
<a href="day30.html"><li>>></li></a>
</ul>
</nav>
<section class="container">
<h2>Day <span id="pageIdentify">4</span></h2>
<div id="greeting"></div>
<p>Today is day 4. Yesterday I was able to get my navigation set up better, and make the site work better on mobile. However, I didn't get to optimizing the dark mode selector, as I ran out of time with the Javascript elements of the navigation.
</p>
<p>
That being said, I'm going to start out with working on the dark mode selector, both in it's positioning, and it's aesthetics. I'd like for it to show a sun while in dark mode, and a moon while in light mode, but we'll see how it goes.
</p>
<p>I also want to explore the idea of displaying a greeting to new users, and allowing them to set their name as a personalized greeting. I'm guessing I'll need to use localStorage for this, but I'm going to research this tonight.</p>
</section>
<button class="darkModeButton" id="darkModeButton" onclick="darkModeSwitch()">☽</button>
</body>
<script src="script.js"></script>
</html>