-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhex.html
30 lines (30 loc) · 865 Bytes
/
hex.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
<!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">
<title>Color Flipper</title>
<!-- styles -->
<link rel="stylesheet" href="styles.css">
</head>
<body>
<nav>
<div class = "nav-center">
<h4>color flipper</h4>
<ul class="nav-links">
<li><a href="index.html">simple</a></li>
<li><a href="hex.html">hex</a></li>
</ul>
</div>
</nav>
<main>
<div class="container">
<h2>Background color: <span class="color"></span></h2>
<button class="btn btn-hero" id="btn">click here</button>
</div>
</main>
<!-- javascript -->
<script src = "hex.js"></script>
</body>
</html>