Visibility toggle?

Solution retrospective
What did you find difficult while building the project?
My first approach was to create two HTML's, index and thanks...
I was not able to cross the rating's result from index.html to thanks.html.
Finally I created both cards in the index.html file and using JS I controled the visibility with the obj.classList.toggle( ), and got the result.
Which areas of your code are you unsure of? My second approach, described above is correct? Is is possible manipulate DOM crossing files?
Do you have any questions about best practices? Above described.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Alex-Gamarano's solution.
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