Using HTML CSS JS

Solution retrospective
Any modification or feedback regaring code or maintaining, will be appreciated
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Richard-08
Hi! Good work:) After clicking the button, the page refreshes. I suggest adding in the script event.preventDefault(). The Event interface's preventDefault() method tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.
Good luck!
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord