forked from omkrishna/ColorGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (29 loc) · 857 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<title>Color Game</title>
<link rel="stylesheet" href="./index.css" />
</head>
<body onload="newGame()">
<div id="header">
<h2>The Great</h2>
<h1 id="header-clue">rgb(xxx,xxx,xxx)</h1>
<h2>Guessing Game</h2>
<div class="score-panel">
<p class="panel" id="trial"></p>
<p class="panel" id="score"></p>
<button id = "next" onClick="next()">Next</button>
<button id = "reset" onclick="newGame()">Reset</button>
</div>
</div>
<div id="container">
<div class="tile" id="1"></div>
<div class="tile" id="2"></div>
<div class="tile" id="3"></div>
<div class="tile" id="4"></div>
<div class="tile" id="5"></div>
<div class="tile" id="6"></div>
</div>
<script src="./logic.js"></script>
</body>
</html>