diff --git a/assets/js/clicky.js b/assets/js/clicky.js new file mode 100644 index 0000000..fc12624 --- /dev/null +++ b/assets/js/clicky.js @@ -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'); + } +} \ No newline at end of file diff --git a/assets/js/q.js b/assets/js/q.js index ee333ce..0370b46 100644 --- a/assets/js/q.js +++ b/assets/js/q.js @@ -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"; + } + } } \ No newline at end of file diff --git a/easter-egg.html b/easter-egg.html new file mode 100644 index 0000000..d3aaf0c --- /dev/null +++ b/easter-egg.html @@ -0,0 +1,31 @@ + +
+Awexxx © 2021