Pricing component with toggle
Download Sketch File
JPEG designs are included in the free download, but you can buy the original Sketch file for this challenge here. The download includes desktop and mobile design, as well as a design for active/hover states (if part of the challenge).
Your challenge is to build out this pricing component and get it looking as close to the design as possible.
You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.
Your users should be able to:
- View the optimal layout for the component depending on their device's screen size
- Control the toggle with both their mouse/trackpad and their keyboard
- Bonus: Complete the challenge with just HTML and CSS
Download the starter code and go through the
README.md file. This will provide further details about the project. The
style-guide.md file is where you'll find colors, fonts, etc.
Want some support on the challenge? Join our Slack community and ask questions in the help channel.
- Download the starter code
Set up the project with version control (e.g. Git)
README.mdfile and have a look around the project
Get colors, fonts etc from the
Set up your project/file architecture however you want
Ideas to test yourself
Join our Slack community
Join over 2,800 people taking the challenges, talking about their code, helping each other, and chatting about all things front-end!
Subscribe to our newsletter
Stay up-to-date with new challenges, featured solutions, selected articles and Frontend Mentor latest news