-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex4.html
69 lines (66 loc) · 2.27 KB
/
index4.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GDG Treasure Hunt -Level 4</title>
<link rel="stylesheet" href="styles.css" />
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<script type="module" defer src="firebaseconfig.js"></script>
<!-- removed modal part in script below -->
<script src="script.js" ></script>
</head>
<body>
<header>
<img
src="https://www.cdnlogo.com/logos/g/65/gdg-google-developer-group.svg"
alt="GDG Logo"
class="logo"
/>
<div class="user-counter">
<span class="material-icons">people</span>
<span id="userCount">0</span>
</div>
</header>
<!-- Here we edit the question / answers -->
<main>
<div class="level-container">
<h1>Level 4: The Final Quest</h1>
<div class="question-box">
<p> DECRYPT THE CODE:<br> F XJ RLQPLMMIB
</p>
<form id="answerForm" data-level="4" data-correct-answer="I AM UNSTOPPABLE">
<input
type="text"
id="answerInput"
placeholder="Enter your answer"
required
>
<button type="submit" class="btn submit-btn">Submit</button>
</form>
<!-- ADDED THIS LINE BELOW -->
<script src="script.js"></script>
</div>
<button
class=" btn hint-btn"
data-hint="This encryption method, named after a famous Roman general, involves shifting each letter in
the plaintext by a fixed number of positions in the alphabet.
For Example: Code: EBIIL: Each letter was shifted 3 positions backward to encrypt it. Now to decrypt it we shift each letter 3 positions
forward. So it becomes E->H, B->E, I->L, I->L, L->0 = HELLO"
>
Show Hint
</button>
</div>
</main>
<div class="modal" id="hintModal">
<div class="modal-content">
<span class="close">×</span>
<h3>Hint</h3>
<p id="hintText"></p>
</div>
</div>
</body>
</html>