-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
77 lines (47 loc) · 2.46 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="it">
<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 • juri gemignani</title>
<link rel="shortcut icon" href="assets/img/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="style/fonts.css">
<link rel="stylesheet" href="style/style-lg.css">
<link rel="stylesheet" href="style/style-sm.css" media="screen and (max-width: 768px)">
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css">
</head>
<body>
<p id="title">tic<br>tac<br>toe</p>
<div class="points-container">
<!-- X points -->
<div class="points active" id="x-points-container">
<i class="points-icon">x</i>
<p class="points-value" id="x-points">0</p>
</div>
<p class="result"></p>
<!-- O points -->
<div class="points" id="o-points-container">
<i class="points-icon">o</i>
<p class="points-value" id="o-points">0</p>
</div>
</div>
<div class="tris-grid">
<div id="cell_1" class="tris-cell"></div>
<div id="cell_2" class="tris-cell" style="--right: 2px; --left: 2px;"></div>
<div id="cell_3" class="tris-cell"></div>
<div id="cell_4" class="tris-cell" style="--top: 2px; --bottom: 2px;"></div>
<div id="cell_5" class="tris-cell" style="--top: 2px; --right: 2px; --bottom: 2px; --left: 2px;"></div>
<div id="cell_6" class="tris-cell" style="--top: 2px; --bottom: 2px;"></div>
<div id="cell_7" class="tris-cell"></div>
<div id="cell_8" class="tris-cell" style="--right: 2px; --left: 2px;"></div>
<div id="cell_9" class="tris-cell"></div>
</div>
<div class="bottom">
<i class="btn-clear uil uil-redo" title="clear the board"></i>
<i class="btn-reset uil uil-multiply" title="reset all the game"></i>
</div>
<script src="script/tictactoe.js"></script>
<script src="script/app.js"></script>
</body>
</html>