-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (50 loc) · 2.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tic Tac Toe</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="header">
<p>Tic Tac Toe</p>
</div>
<div id="pop-up"><div id="pop-up-text"><p id="pop-up-text1"></p>
<p id="pop-up-text2"></p></div></div>
<div id="pop-up-invisible"></div>
<div id="middle">
<div id="modes">
<div class="modes" id="pvp">
<button type="button"><img src="img/pvp.png" alt="player versus player"></button>
</div>
<div class="modes" id="cvp">
<button type="button"><img src="img/pvspc.png" alt="player versus computer"></button>
</div>
</div>
<div id="game-board">
<div class="cell" id="cell1"></div>
<div class="cell" id="cell2"></div>
<div class="cell" id="cell3"></div>
<div class="cell" id="cell4"></div>
<div class="cell" id="cell5"></div>
<div class="cell" id="cell6"></div>
<div class="cell" id="cell7"></div>
<div class="cell" id="cell8"></div>
<div class="cell" id="cell9"></div>
</div>
<div id="players">
<div id="points"><p id="player1score">0</p><div id="score">Score</div><p id="player2score">0</p></div>
<div id="start-score"><div id="start1"><p>Start</p></div><div id="start2"><p></p></div></div>
<div id="players-1-2"><div id="player1" ><p>Player 1</p></div><div id="empty"></div>
<div id="player2"><p id ="player2-computer">Player 2</p></div></div>
<div id ="choices"><p id="player1choice"></p><p id="switch-choices" >⇆</p><p id="player2choice"></p></div>
</div>
<div id="reset">
<button type="button">RESET</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>