-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
139 lines (121 loc) · 5.02 KB
/
index.html
File metadata and controls
139 lines (121 loc) · 5.02 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
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
136
137
138
139
<!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="Username">
<input id="password" type="password" placeholder
="Password">
<button onclick="login()">login</button>
<button onclick="register()">create account</button>
<button onclick="unregister()">delete account</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="monkey-interface">
<p>Pseudo Incorrect !</p>
</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="manageAccount">
<button onclick="displayManageAccountPage()">Manage Account</button>
</div>
<section id="manageAccountPage">
<div>
<input id="pseudoAccountInput" type="text" placeholder="Username">
<input id="passwordAccountInput" type="password" placeholder="Password">
<button id="mgrAccountValid" onclick="verify()">Verify</button>
</div>
<div>
<button id="changePseudoButton" disabled onclick="changePseudo()">Change pseudo</button>
<button id="changePasswordButton" disabled onclick="changePassword()">Change password</button>
</div>
<div>
<button onclick="displayMainPage()">Main page</button>
</div>
</section>
<div id="retour-fin">
<button id="retour" onclick="retour()">Retour au menu</button>
</div>
</body>
</html>