-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (45 loc) · 1.81 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" href="styles.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Neucha&family=Open+Sans&display=swap" rel="stylesheet">
<meta charset="utf-8">
<title>Cat vs Dog Tic-Tac-Toe</title>
</head>
<body>
<aside class="dog-side">
<img class="dog" src="assets/dog.png" alt="dog">
<h2>Total Dog Wins</h2>
<h3 id="dogWinCount"></h3>
</aside>
<main>
<h1>Cat vs. Dog | Tic-Tac-Toe</h1>
<header id="announcement">
<img class="small-image" id="playerImage" src="assets/dog.png" alt="dog">
<p class="title"> 's Turn</p>
</header>
<section class="gameboard" id="gameBtns">
<button class="spot1 btn" id="spotOne"></button>
<button class="spot2 btn" id="spotTwo"></button>
<button class="spot3 btn" id="spotThree"></button>
<button class="spot4 btn" id="spotFour"></button>
<button class="spot5 btn" id="spotFive"></button>
<button class="spot6 btn" id="spotSix"></button>
<button class="spot7 btn" id="spotSeven"></button>
<button class="spot8 btn" id="spotEight"></button>
<button class="spot9 btn" id="spotNine"></button>
</section>
<button class="start-over" id="resetBtn">Start Over</button>
</main>
<aside class="cat-side">
<img class="cat" src="assets/cat.png" alt="cat">
<h2>Total Cat Wins</h2>
<h3 id="catWinCount"></h3>
</aside>
<script type="text/javascript" src="./src/game.js"></script>
<script type="text/javascript" src="./src/player.js"></script>
<script type="text/javascript" src="./src/main.js"></script>
</body>
</html>