Responsive Toggle Pricing Table using HTML, CSS & Javascript

Solution retrospective
I like to post in this community every now and again to share and grow my skills with those fellow developers out there. This time round I decided to implement this pricing table challenge. I also went ahead and added a small bit of vanilla Javascript to toggle the monthly & annual tables.
Thoughts & feedback welcome as always.
P.S. Code could be a little prettier but in the space of time, it'll do!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @mattstuddert
Looks great Keelan, nice work! My main suggestion would be to not duplicate your HTML for the toggle. Only the prices are different, so you could just hide/show the correct price based on the option chosen. Keep it up! 👍
- @adarshcodes
Looks Great!
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