-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (28 loc) · 1.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sid's TIC TAC TOE</title>
<link rel="icon" href="./TIC.png" type="image/x-icon">
<link rel="stylesheet" href="index.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=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap" rel="stylesheet">
</head>
<body>
<h1>TIC TAC TOE</h1>
<h5>Which Tic Tac Toe you want to play today ??</h5>
<button id="Classic" onclick="redirectToClassic()">Classic Tic Tac Toe</button>
<p>the classic game of tic tac toe with two players and 9 cells.</p>
<button id="Modern" onclick="redirectToModern()">Modern Tic Tac Toe</button>
<p>an interesting game of tic tac toe with 2 players and a twist.</p>
</div>
<script>
function redirectToClassic() {
window.location.href = 'ttt.html'}
function redirectToModern() {
window.location.href = 'cttt.html'}
</script>
</body>
</html>