From 32bd740f7224764cff192eef33531e7a54fb6125 Mon Sep 17 00:00:00 2001 From: Jay C Date: Sat, 5 Oct 2019 21:57:20 -0400 Subject: [PATCH 1/2] Fixed minor issue -- forgot to refactor variable name. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ee4d681..86f65d6 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,7 @@ var lazeez = false; anime() function anime() { - if(fortnite){ + if(lazeez){ document.querySelector("h1").style.color = "yellow"; lazeez= false; } From b940c3acfbc65ed0e41813d5233f8d23fd1ec85c Mon Sep 17 00:00:00 2001 From: Jay C Date: Sat, 5 Oct 2019 22:07:38 -0400 Subject: [PATCH 2/2] Updated colors for Halloween theme. --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 86f65d6..0b83f6f 100644 --- a/index.js +++ b/index.js @@ -3,11 +3,11 @@ anime() function anime() { if(lazeez){ - document.querySelector("h1").style.color = "yellow"; + document.querySelector("h1").style.color = "orange"; lazeez= false; } else{ - document.querySelector("h1").style.color = "green"; + document.querySelector("h1").style.color = "black"; lazeez = true; } }