-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage2.html
More file actions
41 lines (38 loc) · 1.51 KB
/
Copy pathpage2.html
File metadata and controls
41 lines (38 loc) · 1.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Color Scheme Switcher</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Outer Rectangle (Canvas) - Background color changes here -->
<div id="canvas" class="canvas">
<!-- Navbar -->
<nav class="navbar">
<div class="nav-links">
<a href="/" class="nav-link">Home</a>
<a href="https://github.com/MrMorpho1" target="_blank" class="nav-link">Github</a>
</div>
</nav>
<!-- Inner Rectangle (Content) - Static white container -->
<div id="content" class="content">
<h1 class="title">Color Scheme Switcher</h1>
<!-- Color Boxes -->
<div class="color-grid">
<button class="button" data-color="#808080" id="grey"></button>
<button class="button" data-color="#ffffff" id="white"></button>
<button class="button" data-color="#4338ca" id="blue"></button>
<button class="button" data-color="#f8b4d0" id="pink"></button>
</div>
<!-- Instructions -->
<div class="instructions">
<p class="instruction-text">Try clicking on one of the colors above</p>
<p class="instruction-text">to change the background color!</p>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>