-
Notifications
You must be signed in to change notification settings - Fork 0
/
hex.html
34 lines (31 loc) · 1017 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
31
32
33
34
<!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="stylesheet" href="style.css">
<title>Random Color Generator</title>
</head>
<body>
<nav>
<div class="nav-center">
<h4>Color HEX</h4>
<ul class="nav-links">
<li><a href="name.html">BY NAMES</a></li>
<li><a href="hex.html">BY HEX</a></li>
</ul>
</div>
</nav>
<main>
<div class="container">
<h2>Color HEX: <span class="color">#f1f5f8</span></h2>
<button class="btn btn-gen" id="btn">Generate</button>
<button onclick="copy()" class="btn btn-copy" id="copy">Copy</button>
<button onclick="prev()" class="btn btn-prev" id="prev">Previous</button>
</div>
</main>
<!-- javascript -->
<script src="hex.js"></script>
</body>
</html>