-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.html
45 lines (36 loc) · 1017 Bytes
/
game.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
<!DOCTYPE html>
<html lang="fr">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="description" content="Hangman Game">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Favicon -->
<link rel="icon" href="">
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Love+Ya+Like+A+Sister&display=swap" rel="stylesheet">
<!-- CSS -->
<link rel="stylesheet" href="css/style.css">
<title>Jeu du pendu</title>
</head>
<body>
<main>
<h1>Jeu du pendu</h1>
<article>
<div class="left">
<img alt="hangman" id="hangman" src="img/0.png">
<div>Fautes: <span id='mistakes'>0</span> of 6</div>
<div id="word"></div>
</div>
<div class="game">
<p id="wordSpotlight"></p>
<div id="keyboard"></div>
</div>
<div class="right">
<button type="submit" id="restart">Rejouer ?</button>
</div>
</article>
</main>
<script src="js/game.js"></script>
</body>
</html>