-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolors.html
33 lines (31 loc) · 1.21 KB
/
colors.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
<!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="./styles.css">
<title>Color Flipper</title>
</head>
<body>
<h1 class="page-header">CSS Color Randomizer<span class="header-span">Click Randomize to find your color scheme!</span></h1>
<div class="wrapper">
<div class="col-1" id="hexCol1">
<h2 class="col-header">Primary Color</h2>
<button type="button" class="col-button" id="hexBut1">Randomize</button>
<span id="colorSpan1"></span>
</div>
<div class="col-1" id="hexCol2">
<h2 class="col-header">Secondary Color</h2>
<button type="button" class="col-button" id="hexBut2">Randomize</button>
<span id="colorSpan2"></span>
</div>
<div class="col-1" id="hexCol3">
<h2 class="col-header">Alternate Color</h2>
<button type="button" class="col-button" id="hexBut3">Randomize</button>
<span id="colorSpan3"></span>
</div>
</div>
<script src="./randomcolor.js"></script>
</body>
</html>