-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
135 lines (109 loc) · 4.41 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Coding Quiz</title>
<link rel="stylesheet" href="./assets/style/style.css">
<script src="./assets/js/jquery.js" defer></script>
<script src="./assets/js/script.js" defer></script>
<script src="./assets/js/animation.js" defer></script>
<link rel="shortcut icon" href="assets/img/logo.jpeg" type="image/x-icon">
</head>
<body>
<header id="test">
<div class="header-col">
<!-- Logo Coding -->
<a href="https://codingfactory.fr" target="_blank" id="logo-coding"><img
src="assets/img/logo-coding-couleur-png.webp" alt="Logo de la Coding Factory" id="logo" /></a>
</div>
<div class="header-col">
<!-- Compteur de réponses -->
<p id="mainInfo">Overall Ranking</p>
</div>
<div class="header-col">
<!-- Stop Test/Start Test -->
<button onclick="startTest()" id="start-button">Start test</button>
<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" target="_blank" id="rickRoll">Don't click</a>
</div>
</header>
<div id="name-pop-up">
<label for="name">Coding Quiz</label>
<input id="pseudo" type="text" placeholder="Entrez votre pseudo pour commencer !">
<button onclick="sendName()">Valider</button>
<span class="circleRandom bluegreen"></span>
<span class="circleRandom greenpastel"></span>
<span class="circleRandom pinkpastel"></span>
<span class="circleRandom redpastel"></span>
<span class="circleRandom yellowpastel"></span>
<span class="circleRandom orangepastel"></span>
<span class="circleRandom bluegreen"></span>
<span class="circleRandom greenpastel"></span>
<span class="circleRandom pinkpastel"></span>
<span class="circleRandom redpastel"></span>
<span class="circleRandom yellowpastel"></span>
<span class="circleRandom orangepastel"></span>
<span class="circleRandom bluegreen"></span>
<span class="circleRandom greenpastel"></span>
<span class="circleRandom pinkpastel"></span>
<span class="circleRandom redpastel"></span>
<span class="circleRandom yellowpastel"></span>
<span class="circleRandom orangepastel"></span>
<span class="circleRandom bluegreen"></span>
<span class="circleRandom greenpastel"></span>
<span class="circleRandom pinkpastel"></span>
<span class="circleRandom redpastel"></span>
<span class="circleRandom yellowpastel"></span>
<span class="circleRandom orangepastel"></span>
</div>
<div id="wrong-nickname">
<p>Pseudo Incorrect !</p>
</div>
<!-- <div id="ranking">
<div id="rankingLineOrigin">
<div class="rankingLine">
<img class="rankingNote" src="">
<p class="rankingUsername">---</p>
<p class="rankingUserNote">---</p>
</div>
</div>
</div> -->
<div id="result">
<img src="assets/img/ranking-x.png" alt="rating" id="rating" onclick="lunatic()" />
<p id="name">Pseudo</p>
<p id="results">Vous êtes aptes pour rentrer à la Coding.</p>
</div>
<div id="content">
<section id="carteOrigin">
<section class="carte">
<section class="buttons">
<button id="next" onclick="next()">Next</button>
</section>
<p class="question"></p>
<div class="answer">
<input type="checkbox" value="check">
<label class="answerLabel" for="check" type="">---</label>
</div>
</section>
</section>
</div>
<div id="leaderboard">
<table id="ranking">
<tbody id="tab">
<tr class="line">
<td class="rankingUsername">
Pseudo
</td>
<td class="rankingUserNote">
Note
</td>
</tr>
</tbody>
</table>
</div>
<div id="retour-fin">
<button id="retour" onclick="retour()">Retour au menu</button>
</div>
</body>
</html>