-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (37 loc) · 1.16 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
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="colors">
<p class="name">
<!-- words names will come here dynamically by array-->
</p>
<div class="result">
<!--If user click wrong color name it will show "Bad" and click right will show "Good"-->
<p>Good: <span class="good">0</span></p>
<p>Bad: <span class="bad">0</span></p>
<p class="scr">Score: <span class="score">0</span></p>
</div>
</div>
<div class="main">
<p class="tap-res"></p>
<p class="heading">Tap the text color.</p>
<p class="timer">30</p>
</div>
<button class="start">Start Again</button>
<div class="buttons">
<button class="btn" value="red">Red</button>
<button class="btn" value="blue">Blue</button>
<button class="btn" value="yellow">Yellow</button>
<button class="btn" value="lime">Green</button>
</div>
<!-- JS Script Start-->
<script src="script.js"></script>
</body>
</html>