Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

toggle feature with javascript,pricing-card-component

Vinit 90

@vinitrai

Desktop design screenshot for the Pricing component with toggle coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Dear All, This one was a bit challenging,toggling between monthly and annually .I tried using positioning but then decided on simply using display. For the toggle feature I used Javascript and I would like to know how could we achieve the feature without using javascript. How to use only css to get the toggling between monthly and annual .Plz help

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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