Design comparison
SolutionDesign
Solution retrospective
At some point my Javascript code was bringing errors. this was because I used onclick method directly on the html. For some reason the browser couldn't run the code. I added a click eventlistener instead and it worked. I still don't why the onclick method did not work on the button
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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