Skip to content

Commit 058e034

Browse files
Update What-Is-Computer-Science-Quiz.html
Signed-off-by: Glowing Jellyfish Studio <digitaldarkness2024@outlook.com>
1 parent b8d1c45 commit 058e034

File tree

1 file changed

+39
-50
lines changed

1 file changed

+39
-50
lines changed

What-Is-Computer-Science-Quiz.html

Lines changed: 39 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,45 @@
11
<head>
2-
<script
3-
type="text/javascript"
4-
src="https://app.termly.io/resource-blocker/9168f4b7-e2dd-454c-815f-7495324c3050?autoBlock=on">
5-
</script>
6-
<!-- Google tag (gtag.js) -->
7-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Y0C7CHSP0Z"></script>
8-
<script>
9-
window.dataLayer = window.dataLayer || [];
10-
function gtag(){dataLayer.push(arguments);}
11-
gtag('js', new Date());
2+
<script type="text/javascript" src="https://app.termly.io/resource-blocker/9168f4b7-e2dd-454c-815f-7495324c3050?autoBlock=on"></script>
3+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Y0C7CHSP0Z"></script>
4+
<script>
5+
window.dataLayer = window.dataLayer || [];
6+
function gtag(){dataLayer.push(arguments);}
7+
gtag('js', new Date());
128

13-
gtag('config', 'G-Y0C7CHSP0Z');
14-
</script>
15-
<title>Quiz</title>
9+
gtag('config', 'G-Y0C7CHSP0Z');
10+
</script>
11+
<title>Quiz</title>
1612
</head>
1713
<body>
18-
<iframe width="640px" height="480px" src="https://forms.office.com/Pages/ResponsePage.aspx?id=DQSIkWdsW0yxEjajBLZtrQAAAAAAAAAAAAYAAOqYAmtUQU0wUlJHWkFNVzNDVENEWTVHN0RKSThUOS4u&embed=true" frameborder="0" marginwidth="0" marginheight="0" style="border: none; max-width:100%; max-height:100vh" allowfullscreen webkitallowfullscreen mozallowfullscreen msallowfullscreen> </iframe>
19-
<button onclick="promptPassword()">Continue</button>
20-
<link rel="stylesheet" href="learn.css">
21-
<script>
22-
function promptPassword() {
23-
var password = prompt("Please enter your password:");
24-
var correctPassword = "DKE392"; // Set your correct password here
25-
if (password === correctPassword) {
26-
alert("Password is correct!");
27-
window.location.href = "https://glowingjellyfishstudio.github.io/Computing-Systems/What-Is-A-Computer"; // Set your redirect URL here
28-
} else {
29-
alert("Incorrect password. Please try again.");
30-
}
31-
}
32-
</script>
33-
<script type="module">
34-
// Import the functions you need from the SDKs you need
35-
import { initializeApp } from "https://www.gstatic.com/firebasejs/11.1.0/firebase-app.js";
36-
import { getAnalytics } from "https://www.gstatic.com/firebasejs/11.1.0/firebase-analytics.js";
37-
// TODO: Add SDKs for Firebase products that you want to use
38-
// https://firebase.google.com/docs/web/setup#available-libraries
14+
<iframe width="640px" height="480px" src="https://forms.office.com/Pages/ResponsePage.aspx?id=DQSIkWdsW0yxEjajBLZtrQAAAAAAAAAAAAYAAOqYAmtUQU0wUlJHWkFNVzNDVENEWTVHN0RKSThUOS4u&embed=true" frameborder="0" marginwidth="0" marginheight="0" style="border: none; max-width:100%; max-height:100vh" allowfullscreen webkitallowfullscreen mozallowfullscreen msallowfullscreen> </iframe>
15+
<button onclick="promptPassword()">Continue</button>
16+
<link rel="stylesheet" href="learn.css">
17+
<script>
18+
function promptPassword() {
19+
var password = prompt("Please enter your password:");
20+
var correctPassword = "DKE392"; // Set your correct password here
21+
if (password === correctPassword) {
22+
alert("Password is correct!");
23+
window.location.href = "https://glowingjellyfishstudio.github.io/Computing-Systems/What-Is-A-Computer"; // Set your redirect URL here
24+
} else {
25+
alert("Incorrect password. Please try again.");
26+
}
27+
}
28+
</script>
29+
<script type="module">
30+
import { initializeApp } from "https://www.gstatic.com/firebasejs/11.1.0/firebase-app.js";
31+
import { getAnalytics } from "https://www.gstatic.com/firebasejs/11.1.0/firebase-analytics.js";
3932

40-
// Your web app's Firebase configuration
41-
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
42-
const firebaseConfig = {
43-
apiKey: "AIzaSyBmRX48_EdZ08-L4KCPhAunCWDy8LBIo1E",
44-
authDomain: "glowing-jellyfish-studios.firebaseapp.com",
45-
projectId: "glowing-jellyfish-studios",
46-
storageBucket: "glowing-jellyfish-studios.firebasestorage.app",
47-
messagingSenderId: "79644324993",
48-
appId: "1:79644324993:web:c3073d0258067326224980",
49-
measurementId: "G-Y0C7CHSP0Z"
50-
};
51-
52-
// Initialize Firebase
53-
const app = initializeApp(firebaseConfig);
54-
const analytics = getAnalytics(app);
55-
</script>
33+
const firebaseConfig = {
34+
apiKey: "AIzaSyBmRX48_EdZ08-L4KCPhAunCWDy8LBIo1E",
35+
authDomain: "glowing-jellyfish-studios.firebaseapp.com",
36+
projectId: "glowing-jellyfish-studios",
37+
storageBucket: "glowing-jellyfish-studios.firebasestorage.app",
38+
messagingSenderId: "79644324993",
39+
appId: "1:79644324993:web:c3073d0258067326224980",
40+
measurementId: "G-Y0C7CHSP0Z"
41+
};
42+
const app = initializeApp(firebaseConfig);
43+
const analytics = getAnalytics(app);
44+
</script>
5645
</body>

0 commit comments

Comments
 (0)