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

Frontend Mentor | Pricing component with toggle SCSS/BEM/JS

Qumrran 410

@qumrran

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

Community feedback

@dmuri

Posted

Hi there 👋

Well done, really nice work! A small suggestion would be adding a max-width property inside the media query as the main content gets quite streched. I would also consider changing the break point to around 750px, but that is of course a matter of taste.

Happy coding!

0

Qumrran 410

@qumrran

Posted

@dmuri Thanks for the code comment. I'm wondering if setting a max-width will make any difference because the entire content doesn't expand, and the main container is centered. As a result, it remains the same size in the center of any width screen.

0

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