-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (35 loc) · 1.04 KB
/
index.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" name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>The Color Game</title>
<link rel="stylesheet" type="text/css" href="colorGame.css" />
</head>
<body>
<div class="item-header">
<h1>The Great Color Game<br /><span id="colorDisplay">RGB</span></h1>
<!--Button for reset and modes -->
<div class="buttons">
<button id="resetButton"></button>
<span id="message"></span>
</div>
<div class="buttons">
<button class="mode">Easy</button>
<button class="mode selected">Hard</button>
</div>
</div>
<!-- container for color square to be random -->
<div class="grid">
<div class="square"></div>
<div class="square"></div>
<div class="square"></div>
<div class="square"></div>
<div class="square"></div>
<div class="square"></div>
<div class="square"></div>
<div class="square"></div>
<div class="square"></div>
</div>
<script type="text/javascript" src="colorGame.js"></script>
</body>
</html>