From 83c15f40cbf5661987c9bd95c92893412c9a718d Mon Sep 17 00:00:00 2001 From: Author <> Date: Sat, 26 Aug 2023 14:45:21 -0400 Subject: [PATCH] Removed console.log calls --- index.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.html b/index.html index 006492e..262742c 100644 --- a/index.html +++ b/index.html @@ -70,8 +70,6 @@ hiddenClass = "hidden"; revealedClass = "visible"; function switchClasses(element, toRemove, toInsert){ - console.log(toRemove); - console.log(element.classList); element.classList.remove(toRemove); element.classList.add(toInsert); } @@ -84,7 +82,6 @@ id = button.textContent; ids = ["about", "projects", "contact"]; ids.filter(i => i !== id).forEach(hide); - console.log("All hidden!"); element = document.getElementById(id); if(element.classList.contains(revealedClass)){ switchClasses(element, revealedClass, hiddenClass);