Skip to content

Commit

Permalink
changing the layout
Browse files Browse the repository at this point in the history
  • Loading branch information
abutler911 committed Oct 10, 2023
1 parent bb83712 commit 29c39d6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 29c39d6

Please sign in to comment.