Design comparison
Solution retrospective
I used two HTML files and two scripts to complete this one. It took me a while to realize I can use localstorage to trasfer value between scripts.
This project was simple in a way but the tricky part was the confirmation page. I was looking for ways to design and alert prompt unsuccessfully but remembered about linking pages.
I find using two JS files to be unprofessional but that was the only way I could do it with two HTML file. I tried linking the two html files to one JS file but I kept getting the null error for my variables. If anyone know a better way, I appreciate the suggestion. Thanks 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