-
Notifications
You must be signed in to change notification settings - Fork 1
/
aoc-py.html
54 lines (51 loc) · 1.93 KB
/
aoc-py.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Advent of Cyber: Python Quiz</title>
<link rel="stylesheet" href="aoc-html.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
</head>
<body>
<!-- Header -->
<header class="header">
<div class="logo">Advent of Cyber: Python Quiz</div>
</header>
<!-- Quiz Section -->
<section class="quiz-section">
<h1>Python Quiz</h1>
<p>Answer all the questions correctly to get the flag!</p>
<form id="quiz-form">
<div class="question">
<label for="q1">1. What is the keyword to define a function in Python?</label>
<input type="text" id="q1" placeholder="Answer here..." required>
</div>
<div class="question">
<label for="q2">2. How do you create a list in Python?</label>
<input type="text" id="q2" placeholder="Answer here..." required>
</div>
<div class="question">
<label for="q3">3. Which operator is used to check equality in Python?</label>
<input type="text" id="q3" placeholder="Answer here..." required>
</div>
<div class="question">
<label for="q4">4. How do you import a module in Python?</label>
<input type="text" id="q4" placeholder="Answer here..." required>
</div>
<div class="question">
<label for="q5">5. What is the output of `print(2**3)` in Python?</label>
<input type="text" id="q5" placeholder="Answer here..." required>
</div>
<button type="submit" class="btn">Submit</button>
</form>
<div id="result" class="result"></div>
</section>
<!-- Footer -->
<footer class="footer">
<p>© 2024 Advent of Cyber. All Rights Reserved.</p>
</footer>
<script src="aoc-py.js"></script>
</body>
</html>