Multi-step form with Vanilla JS and sass

Solution retrospective
My solution for the multi-step form. I decided to code it first using only Vanilla JS because I knew it was gonna be more challenging and definitely it was! Understanding React and knowing how easy the conditional rendering works with it just made me realize how difficult it is in javascript! It was a good practice, but I can't wait to redo this challenge with React.
I am unsure about some parts of my code and I know I need to refactor because I feel like there were points where I was repeating myself...!
I also need to improve the Monthly/Yearly toggle, for some reason I couldn't figure out how to make it so I ended up with a regular checkbox, not at all close to the real solution...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Maria’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