From 29c39d63b6aff708c4edb40911165183be82851a Mon Sep 17 00:00:00 2001 From: abutler911 Date: Tue, 10 Oct 2023 08:39:48 -0600 Subject: [PATCH] changing the layout --- script.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/script.js b/script.js index a9bad58..033582b 100644 --- a/script.js +++ b/script.js @@ -189,8 +189,16 @@ document.getElementById("start-button").addEventListener("click", () => { showPage("affirmation-page"); }); +showPage("landing-page"); + +document.getElementById("start-button").addEventListener("click", () => { + showPage("affirmation-page"); + // Call updateDisplay when the Start App button is clicked + updateDisplay(); +}); + // Update display initially -updateDisplay(); +// updateDisplay(); // Add event listeners prevButton.addEventListener("click", moveToPrev);