-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (76 loc) · 2.65 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
78
79
<!DOCTYPE html>
<html lang="pl">
<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" />
<meta name="description" content="Game Tic Toe" />
<meta name="keywords" content="game, tic toe, multiplayer, x, y" />
<meta name="author" content="ssynowiec.pl" />
<meta name="color-scheme" content="dark light" />
<title>Tic Tac Toe</title>
<link rel="shortcut icon" href="./img/icons/xo.ico" type="image/x-icon" />
<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=Ubuntu:wght@400;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="./css/style.css" />
</head>
<body data-mode="light">
<header class="header">
<h1>Tic Tac Toe</h1>
<button class="theme-toggle" title="Toogle site theme">
<img src="./img/icons/sun.png" alt="" class="sun" />
<img src="./img/icons/moon.png" alt="" class="moon" />
</button>
</header>
<main class="main">
<h2 class="info"></h2>
<section class="board">
<button class="square top left" data-area="0">
<span class="visually-hidden">Pole w lewym górnym rogu</span>
<div></div>
</button>
<button class="square top" data-area="1">
<span class="visually-hidden">Pole środkowe na górze</span>
<div></div>
</button>
<button class="square top right" data-area="2">
<span class="visually-hidden">Pole w prawym górnym rogu</span>
<div></div>
</button>
<button class="square left" data-area="3">
<span class="visually-hidden">Środkowe pole po lewej</span>
<div></div>
</button>
<button class="square" data-area="4">
<span class="visually-hidden">Pole środkowe</span>
<div></div>
</button>
<button class="square right" data-area="5">
<span class="visually-hidden">Środkowe pole po prawej</span>
<div></div>
</button>
<button class="square bottom left" data-area="6">
<span class="visually-hidden">Pole w lewym dolnym rogu</span>
<div></div>
</button>
<button class="square bottom" data-area="7">
<span class="visually-hidden">Pole środkowe na dole</span>
<div></div>
</button>
<button class="square bottom right" data-area="8">
<span class="visually-hidden">Pole w prawym dolnym rogu</span>
<div></div>
</button>
</section>
<button class="restart">Restart</button>
</main>
<footer class="footer">
<p class="copy">
© 2022
<a href="https://github.com/ssynowiec">github.com/ssynowiec.pl</a>
</p>
</footer>
<script src="./js/script.js"></script>
</body>
</html>