diff --git a/index.html b/index.html index dc6f647..d9426e4 100644 --- a/index.html +++ b/index.html @@ -44,9 +44,6 @@

Random Disco Light Simulator

-
- -
diff --git a/script.js b/script.js index e263e28..51667be 100644 --- a/script.js +++ b/script.js @@ -1,15 +1,3 @@ -document.getElementById("screen").addEventListener("click", () => { - if (document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement) { - document.exitFullscreen(); - document.getElementById("screen").innerHTML = "Enable Fullscreen"; - } - else { - - document.documentElement.requestFullscreen(); - document.getElementById("screen").innerHTML = "Exit Fullscreen"; - } -}) - function run() { function getRandomColor() { diff --git a/style.css b/style.css index af6b7ea..46f1d04 100644 --- a/style.css +++ b/style.css @@ -61,17 +61,6 @@ h1 { } -#screen { - border-radius: 10px; - background: linear-gradient(yellow, green); - cursor: pointer; -} - -#screen:hover { - background: linear-gradient(green, yellow); - -} - .button { margin-top: 40px; margin-bottom: 16px;