-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (42 loc) · 1.41 KB
/
index.html
File metadata and controls
50 lines (42 loc) · 1.41 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Countries Game</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" href="app.css">
</head>
<body>
<section id="game-start" class="screen is-open">
<h1>Welcome to the country game</h1>
<p>The goal is to find the good Flag</p>
<button id="btn-start">Start</button>
</section>
<main id="game">
<header>
<div class="lives">
<img src="like.svg">
<img src="like.svg">
<img src="like.svg">
</div>
<h1>Countries</h1>
<div class="time"><span id="chrono">20</span>s</div>
</header>
<h2>France</h2>
<div class="flags">
<div class="flag"><img src="flags/fr.svg"></div>
<div class="flag"><img src="flags/fr.svg"></div>
<div class="flag"><img src="flags/fr.svg"></div>
<div class="flag"><img src="flags/fr.svg"></div>
</div>
<div class="score">Your score : <strong>0</strong></div>
</main>
<section id="game-over" class="screen">
<h1>Game Over</h1>
<button>Restart</button>
</section>
<script src="data.js"></script>
<!-- écrivez votre code dans ce fichier -->
<script src="app.js"></script>
</body>
</html>