-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathend.html
More file actions
225 lines (201 loc) · 5.86 KB
/
end.html
File metadata and controls
225 lines (201 loc) · 5.86 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!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>JavaScript Quiz</title>
<link rel = "icon" href =
"Images/logo.ico"
type = "image/x-icon">
<!-- style.css -->
<link rel="stylesheet" href="stylesheet.css" />
<style>
#end
{
font-size: 50px;
font-family: Georgia, 'Times New Roman', Times, serif;
color: rgb(9, 27, 61);
text-shadow: 2px 2px 2px white;
text-align: center;
transition: 1s linear;
transform: scaleY(1.5);
}
.wrapper
{
background: linear-gradient(#e6e0e0 0%, #181270 10%, #4ca084 50%, #7a71af 100%);
transform: rotate3d(0);
transition: 10s linear;
}
#bas
{
font-size: 30px;
color: rgb(16, 13, 58);
width: fit-content;
font-family:sans-serif;
margin: 0 auto;
border-radius: 5px;
}
#bas:hover
{
background-color: rgb(16, 13, 58);
color: aliceblue;
transition:1s linear;
}
#chal
{
font-size: 30px;
color: rgb(27, 153, 48);
width: 100px;
font-family:sans-serif;
margin: 0 auto;
border-radius: 5px;
}
#chal:hover
{
background-color: rgb(11, 78, 11);
color: aliceblue;
transition:1s linear;
}
#send
{
font-size: 30px;
color: aliceblue;
width:auto;
font-family:sans-serif;
margin: 0 auto;
border-radius: 10px;
background-color: rgb(11, 34, 78);
}
#send:hover
{
background-color: rgb(255, 255, 255);
color: rgb(20, 16, 70);
transition:1s linear;
}
#print
{
font-size: 30px;
color: rgb(8, 34, 56);
width:auto;
font-family:sans-serif;
margin: 0 auto;
border-radius: 10px;
background-color: rgb(253, 253, 253);
}
#print:hover
{
background-color: rgb(7, 68, 31);
color: rgb(228, 227, 241);
transition: 1s cubic-bezier(0.23, 1, 0.320, 1);
}
#feedback
{
background-color: #ffffff;
opacity: 0.9;
z-index: 10;
border-radius: 10px;
box-shadow: 5px 5px 2px 1px blue;
width: 50%;
height: 80vh;
height:auto;
position: absolute;
top: 0%;
transform: translateX(50%) translateY(20%);
display: none;
}
#comments
{
font-size: 30px;
width: 80%;
margin-left: 10px;
}
#comments:focus {
background: linear-gradient(#e6e0e0 0%, #6d9cb8 10%, #4ca084 50%, #463b85 100%);
transition: 0.4s linear;
}
@media all and (max-width:600px)
{
#feedback
{
transform: translateX(5%) translateY(5%);
width: 90%;
}
#comments
{
height: auto;
}
}
@media all and (max-width:400px)
{
#feedback
{
transform: translateX(5%) translateY(5%);
width: 90%;
}
#comments
{
height: auto;
}
}
.name
{
font-size: 20px;
}
</style>
</head>
<body>
<div id="wadaDaba" class="wrapper">
<div style="border: 5px solid green; border-radius: 5%; opacity: 0.9;">
<h1 id="end">Result</h1>
<h1 id="clas" style="color: rgb(10, 32, 90);"></h2>
<h2 id="sub" style="color: rgb(5, 53, 19);"></h3>
<span class="name"></span>
<p class="userpoints">Your Marks: <span class="points"></span></p>
<p class="usertime"> Time taken <span class="time_taken"></span></p>
<button id="chal">HOME</button>
<button id="bas" onclick="show()">FeedBack</button>
<button id="print" onclick="window.print()">Save or Take Print</button>
</div>
</div>
<div id="feedback">
<h1 style="text-shadow:1px 1px 1px #181270;">How was the test gone.Give feedback</h1>
<textarea name="comment" id="comments" cols="25" rows="10"></textarea>
<br>
<button id="send" onclick="SendComment()">Submit</button>
</div>
<script src="https://kit.fontawesome.com/d56261bbb9.js"></script>
<!-- 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>
<!-- user info -->
<script src="userInfo.js"></script>
<script>
setInterval(10000,function(){
document.getElementById("wadaDaba").style="background: linearGradient(#e6e0e0 0%, #181270 10%, #4ca084 50%, #7a71af 100%);transform: rotate3d(0);transition: 10s linear;";
})
document.getElementById("chal").addEventListener("click",function(){
location.href="index.html";
})
</script>
</body>
</html>