-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
109 lines (100 loc) · 3.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- compatibilities -->
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#000000" />
<!-- title and description -->
<title>Lord of the Rings Quiz App</title>
<meta name="description" content="Quiz made with JavaScript" />
<!-- meta tags SEO -->
<meta
property="og:title"
content="VniaCsta | Full-Stack Software Developer"
/>
<meta property="og:type" content="website" />
<meta
property="og:description"
content="Check out this cool quiz! Try to answer all questions correctly."
/>
<meta
property="og:url"
content="https://quiz-app-javascript-vniacsta.netlify.app/"
/>
<meta
property="og:image"
content="https://vniacsta.netlify.app/static/media/quiz-app-js.552f5dcd.png"
/>
<meta property="og:image:alt" content="Lord of the Rings Quiz" />
<meta
name="keywords"
content="fullstackdev, softwaredevelopment, juniordev, fullstack, programming, javascript"
/>
<link rel="canonical" href="https://vniacsta.netlify.app/" />
<!-- links -->
<link
href="https://fonts.googleapis.com/css2?family=Norican&family=Noto+Sans+JP:wght@300;400&display=swap"
rel="stylesheet"
/>
<link rel="icon" href="media/ring-solid.svg" />
<link rel="stylesheet" href="src/style.css" />
</head>
<body>
<div class="app">
<div class="title">
<h1 class="quiz-name">Lord of the Rings Quiz App</h1>
</div>
<div class="introduction" id="introduction-box">
<h3 class="introduction-txt">
This is a practice project made with JavaScript!
<br />
Enjoy!
</h3>
<button class="quiz-button" id="start">Start the quiz</button>
</div>
<div class="quiz" id="quiz-box" style="display: none">
<div class="counter" id="question-counter"></div>
<h3 class="question" id="question"></h3>
<div>
<button class="answers" data-number="0"></button>
<button class="answers" data-number="1"></button>
<button class="answers" data-number="2"></button>
<button class="answers" data-number="3"></button>
</div>
<div class="answer-result" id="result"></div>
<button class="quiz-button" id="next-btn">Next question</button>
</div>
<div class="score" id="score-box" style="display: none">
<h3 class="score-txt">
Congrats!
<br />
Your final score is:
</h3>
<h3 id="score-result"></h3>
</div>
<div class="footer">
<small class="footer-text">
Open-sourced on
<a
class="link"
href="https://github.com/vniacsta/js-quiz-lordoftherings"
target="_blank"
>
Github
</a>
· Built with ❤ by
<a
class="link"
href="https://vniacsta.netlify.app/"
target="_blank"
>
Vania Costa
</a>
</small>
</div>
</div>
<script src="src/app.js"></script>
</body>
</html>