-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (43 loc) · 1.63 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
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Color Guessing Game</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="container">
<h1>Color Guessing Game</h1>
<div class="game-section">
<!-- Game Instructions -->
<p data-testid="gameInstructions" class="instructions">
Guess the correct color displayed in the box below!
</p>
<!-- Left Section with Color Box -->
<div class="left-section">
<div data-testid="colorBox" class="color-box"></div>
<div class="score-container">
<p>Score: <span data-testid="score">0</span></p>
</div>
</div>
<!-- Right Section with Options -->
<div class="right-section">
<div class="color-options">
<button data-testid="colorOption" class="color-button"></button>
<button data-testid="colorOption" class="color-button"></button>
<button data-testid="colorOption" class="color-button"></button>
<button data-testid="colorOption" class="color-button"></button>
<button data-testid="colorOption" class="color-button"></button>
<button data-testid="colorOption" class="color-button"></button>
</div>
<p data-testid="gameStatus" class="game-status"></p>
<button data-testid="newGameButton" class="new-game-btn">
New Game
</button>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>