-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (53 loc) · 2.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chinese Philosophy Alignment</title>
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC&display=swap" rel="stylesheet">
</head>
<body>
<header>
<h1>Chinese Philosophy Alignment Quiz</h1>
</header>
<div class="stickers">
<img id="Confucius" src="imgs/Confucius.png" alt="Confucius">
<img id="Laozi" src="imgs/Laozi.png" alt="Laozi">
<img id="Mencius" src="imgs/Mencius.png" alt="Mencius">
<img id="Mozi" src="imgs/Mozi.png" alt="Mozi">
<img id="Xunzi" src="imgs/Xunzi.png" alt="Xunzi">
<img id="Zhuangzi" src="imgs/Zhuangzi.png" alt="Zhuangzi">
<img id="Han Feizi" src="imgs/HanFeizi.png" alt="Han Feizi">
<img id="Lord Shang" src="imgs/LordShang.png" alt="Lord Shang">
</div>
<div class="container">
<div class="start-screen">
<h2>Discover Your Philosophical Alignment</h2>
<p>Answer questions to find which Classical Chinese philosopher you align with most.</p>
<button onclick="startQuiz()">Begin Journey</button>
</div>
<div class="quiz-section">
<div class="progress-bar">
<div class="progress"></div>
</div>
<div class="question"></div>
<div class="options"></div>
</div>
<div class="results">
<h2>Your Philosophical Alignment</h2>
<div class="results-box">
<div class="philosopher-match"></div>
<button onclick="restartQuiz()">Restart Quiz</button>
</div>
<canvas id="barChart" width="400" height="200"></canvas>
</div>
</div>
<footer>
<p>© 2024 Confucius Confusion. All rights reserved.</p>
<p>The ideas on this website, including the personalized recommendations, are drawn from <em>Readings in Classical Chinese Philosophy</em> by Ivanhoe and Van Norden (2005), the respective chapters of the philosophers, sections, and lecture discussions.</p>
</footer>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script src="js/main.js"></script>
</body>
</html>