
Design comparison
SolutionDesign
Solution retrospective
I learned how to code in JS back in 2021, and after a period of not practicing I've forgotten so much of it. I wanted to practice through this project but I could not figure out how to switch contents with the toggle function. As you can see I used checkbox in HTML and I was wondering if anyone can help me come up with JS function accordingly... much appreciated in advance! :)
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