-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (29 loc) · 917 Bytes
/
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
</<!DOCTYPE html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="./css/mainMenu.css">
<title></title>
</head>
<body>
<div class="menu" id="main-menu">
<div class="boxmenu-options">
<div class="box-options">
<button class="buttons-menu" id="new-game">new game</button>
</div>
<div class="box-options">
<button class="buttons-menu" id="tutorial">tutorial</button>
</div>
</div>
</div>
<script>
let newGameButton = document.getElementById("new-game");
newGameButton.onclick= function(){
window.location.replace('./game.html')
};
let tutorialButton = document.getElementById("tutorial");
tutorialButton.onclick= function(){
window.location.replace('./tutorial.html')
};
</script>
</body>
</html>