This commit is contained in:
awex
2021-06-05 14:18:58 -04:00
parent 1f73421727
commit 4ca8beb79c
4 changed files with 59 additions and 3 deletions
+17
View File
@@ -0,0 +1,17 @@
var count = 0;
function clickyBoy() {
count++;
if (count == 1){
alert("You feel the ground shake..")
} else if (count === 2) {
alert("You feel your spine tingle..")
} else if (count === 3) {
alert("The ground starts to split..")
} else if (count === 4) {
alert("It starts to rise up..")
} else if (count === 5) {
alert("It's here..")
window.location.replace('./easter-egg.html');
}
}
+7
View File
@@ -1,4 +1,5 @@
function checkparam() {
window.onLoad = function() {
const params = new URLSearchParams(window.location.search)
// console.log(params) Only uncomment this for testing purposes.
@@ -38,4 +39,10 @@ function checkparam() {
const success = document.getElementById("success");
success.style.display = "block";
}
if (params.get('ref') === 'ee') {
const ee = document.getElementById("easteregg")
ee.style.display = "block";
}
}
}