-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (51 loc) · 1.48 KB
/
index.html
File metadata and controls
53 lines (51 loc) · 1.48 KB
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
50
51
52
53
<!DOCTYPE html>
<!-- saved from url=(0098)file:///Users/mayakruse/Downloads/javascript-getting-started/02/demos/after/js-demo/colorgame.html -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<title>Color Game</title>
<link rel="stylesheet" type="text/css" href="./colorGame.css" />
</head>
<body>
<h1 style="background: steelblue;">
The Great
<br />
<span id="colorDisplay">rgb(230, 135, 179)</span>
<br />
Color Game
</h1>
<div id="stripe">
<button id="reset">New Colors</button>
<span id="message"> </span>
<button class="mode">Easy</button>
<button class="mode selected">Hard</button>
</div>
<div id="container">
<div
class="square"
style="display: block; background: rgb(16, 2, 221);"
></div>
<div
class="square"
style="display: block; background: rgb(202, 72, 51);"
></div>
<div
class="square"
style="display: block; background: rgb(168, 150, 175);"
></div>
<div
class="square"
style="display: block; background: rgb(128, 169, 4);"
></div>
<div
class="square"
style="display: block; background: rgb(230, 135, 179);"
></div>
<div
class="square"
style="display: block; background: rgb(41, 151, 89);"
></div>
</div>
<script type="text/javascript" src="./colorgame.js"></script>
</body>
</html>