Skip to content
Submitted about 2 years ago

Pricing component with toggle using Native CSS and Zero Javascript

accessibility
LVL 3
@Brian-Pob
A solution to the Pricing component with toggle challenge

Solution retrospective


What are you most proud of, and what would you do differently next time?

Has some responsiveness issues. The widths could have been better off implemented with viewport units or container units and the fonts could have been made responsive using clamps(). Uses :has() selector to implement the toggle switch. I also tried to make the toggle switch accessible with a focus outline.

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Brian Michael Poblete’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