-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolorGame.html
49 lines (39 loc) · 1.18 KB
/
colorGame.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
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="./colorGame.css">
<link href="https://fonts.googleapis.com/css?family=Nunito&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/e042c340d4.js"></script>
<title>RGB Guessing Game</title>
</head>
<body>
<div id="topBar">
<h1>The RGB Guessing Game</h1>
<hr>
<h2>Guessing: <span id="rgbDisplay"></span></h2>
<h3>Which square matches the RGB value?</h2>
</div>
<div id="buttonBar">
<button id="newColorsButton">New Colors</button>
<span></span>
<button id="easyBtn">Easy</button>
<button id="normalBtn" class="selected">Normal</button>
<button id="hardBtn">Hard</button>
</div>
<div id="messageDisplay">
Guess the color
</div>
<div id="squaresContainer">
<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>