Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
peteytacos authored Jan 12, 2023
1 parent 3dca49d commit fd62d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ <h1>What's your age in full moons?</h1>
fullMoons = Math.round(fullMoons);

// Display the result to the user
document.getElementById("result").innerHTML = "Wow, you are " + fullMoons + " moons old";
document.getElementById("result").innerHTML = "Neato, you are " + fullMoons + " moons old!";
// Add the "show" class to the result element to trigger the animation
document.getElementById("result").classList.add("show");

Expand Down

0 comments on commit fd62d1a

Please sign in to comment.