-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (51 loc) · 1.51 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dragons vs. Unicorns - Tic Tac Toe</title>
<meta charset="UTF-8" />
<link rel="stylesheet" href="styles.css" />
<script src="index.js" defer></script>
</head>
<body>
<div id="app">
<!-- Heading -->
<h1>
<img
src="dragon.png"
alt="dragon"
style="width: var(--current-beast-img-height)"
/>
dragons <span>vs</span> unicorns
<img
src="unicorn.png"
alt="unicorn"
style="width: var(--current-beast-img-height)"
/>
</h1>
<!-- Status -->
<div class="current-status" id="currentStatus">
<img src="unicorn.png" alt="unicorn" id="currentBeastImg" />
<p>'s turn</p>
</div>
<!-- Board -->
<div class="board" id="board">
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
</div>
<!-- Game Over -->
<div class="game-end-overlay" id="gameEndOverlay">
<div class="winning-message" data-winning-message>
<p></p>
</div>
<button class="reset-button" id="resetButton">play again</button>
</div>
</div>
</body>
</html>