-
Notifications
You must be signed in to change notification settings - Fork 0
/
quiz.html
80 lines (66 loc) · 2.37 KB
/
quiz.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Quiz Page</title>
<!-- style.css -->
<link rel="stylesheet" href="style.css" />
<link rel = "icon" href =
"Images/logo.ico"
type = "image/x-icon">
</head>
<body>
<div class="wrapper">
<div class="quiz"><center>
<h2 style="color:blueviolet">General Knowledge Quiz App</h2>
<span id="clas" style="color: rgb(10, 32, 90);"></span>
<span id="sub" style="color: rgb(5, 53, 19);"></span>
</center>
<div class="quiz_header">
<div class="quiz_user">
<br><br>
<h4>Welcome! <span class="name"></span></h4>
</div>
<div class="quiz_timer">
<span class="time">00:00</span>
</div>
</div>
<div class="quiz_body">
<div id="questions">
</div>
<button class="btn-next" onclick="next()">Next Question</button>
</div>
</div>
</div>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.17.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.17.2/firebase-database.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/7.17.2/firebase-analytics.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyBmQfYy_p1y5A-0tzCeZDPlPJume7YwYPU",
authDomain: "quizappfirebases.firebaseapp.com",
databaseURL: "https://quizappfirebases.firebaseio.com",
projectId: "quizappfirebases",
storageBucket: "quizappfirebases.appspot.com",
messagingSenderId: "985601574561",
appId: "1:985601574561:web:43ac7087ab6fdf51fa92e0",
measurementId: "G-FPVCTWWN6M"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
<!-- site.js -->
<script src="quiz.js"></script>
<!-- user info -->
<script src="app2.js"></script>
<!-- timer -->
<script src="app3.js"></script>
</body>
</html>