Responsive Toggle Pricing Table using HTML, CSS & Javascript
Design comparison
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!
Community feedback
- @mattstuddertPosted almost 5 years ago
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! 👍
0@KeelanJonPosted almost 5 years ago@mattstuddert That's a great recommendation. Thanks Matt, I'll be sure to do that next time.
0 - @adarshcodesPosted almost 5 years ago
Looks Great!
0
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