-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·109 lines (95 loc) · 4.29 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css" title="no title">
<title>Projet Kittens</title>
</head>
<body>
<div class="container">
<main>
<div class="game">
<div id="xmas" class="xmas">
<div class="" style="display: block">
<img class="present gift2" src="img/cadeau1.png" alt="" id="Cadeau1" />
<img class="present gift3" src="img/cadeau2.png" alt="" id="Cadeau2"/>
<img class="present gift4" src="img/cadeau3.png" alt="" id="Cadeau3"/>
<img class="present gift5" src="img/cadeau4.png" alt="" id="Cadeau4"/>
<img class="present gift6" src="img/cadeau5.png" alt="" id="Cadeau5"/>
<img class="trap gift7" src="img/cadeaupiege.png" alt="" id="Cadeau6"/>
</div>
<div class="">
<img class="present gift8" src="img/cadeau1.png" alt="" id="Cadeau7"/>
<img class="present gift9" src="img/cadeau2.png" alt="" id="Cadeau8"/>
<img class="present gift20" src="img/cadeau3.png" alt="" id="Cadeau9"/>
<img class="present gift11" src="img/cadeau4.png" alt="" id="Cadeau10"/>
<img class="present gift12" src="img/cadeau5.png" alt="" id="Cadeau11"/>
<img class="trap gift13" src="img/cadeaupiege.png" alt=""id="Cadeau12" />
</div>
<div class="">
<img class="present gift14" src="img/cadeaupiege.png" alt="" id="Cadeau13"/>
<img class="present gift15" src="img/cadeau1.png" alt="" id="Cadeau14"/>
<img class="present gift16" src="img/cadeau2.png" alt=""id="Cadeau15" />
<img class="present gift17" src="img/cadeau3.png" alt="" id="Cadeau16"/>
<img class="present gift18" src="img/cadeau4.png" alt="" id="Cadeau17"/>
<img class="present gift19" src="img/cadeau5.png" alt=""id="Cadeau18" />
<img class="trap gift20" src="img/cadeaupiege.png" alt=""id="Cadeau19" />
</div>
<div class="">
<img class="present gift2" src="img/cadeau1.png" alt="" id="Cadeau20"/>
<img class="present gift3" src="img/cadeau2.png" alt="" id="Cadeau21"/>
<img class="present gift4" src="img/cadeau3.png" alt="" id="Cadeau22"/>
<img class="present gift5" src="img/cadeau4.png" alt="" id="Cadeau23"/>
<img class="present gift6" src="img/cadeau5.png" alt="" id="Cadeau24" />
<img class="trap gift7" src="img/cadeaupiege.png" alt="" id="Cadeau25"/>
</div>
</div>
<img class="hidden" src="img/bg2.png" alt="" />
<button type="button" name="button" id="start" onclick="start()">Démarrer</button>
</div>
</main>
<aside class="compt">
<section>
<h4>Score : <span id="score">0</span></h4>
</section>
<section id="timer">
<div id="countdown">
<h4>Timer</h4>
<div id="tictac"></div>
<div class="time">
</div>
</section>
<section id="timer">
<img src="img/pere-noel.png" alt="" />
<div id="countdown">
<h4>Il reste ... </h4>
<div class="time">
<div class="countain">
<span class="count" id="countdown_day" >--</span> <p>jours</p>
</div>
<div class="countain">
<span class="count" id="countdown_hour">--</span> <p>heures</p>
</div>
<div class="countain">
<span class="count" id="countdown_min" >--</span> <p>minutes</p>
</div>
<div class="countain">
<span class="count" id="countdown_sec" >--</span> <p>secondes</p>
</div>
</div>
<h4>Avant Noël </h4>
</div>
</section>
</aside>
</div>
<footer >
<section class="footercol">
<h3>Instructions</h3>
<p> Tu as 30 secondes pour récupérer le maximum de cadeaux dans le traîneau du Père Noël ! Attention, certains sont piégés... </p>
</section>
</footer>
<script src="app.js" charset="utf-8"></script>
<script src="compt.js" charset="utf-8"></script>
<script src="timeur.js" charset="utf-8"></script>
</body>
</html>