This is a solution to the Pricing component with toggle challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Note: Delete this note and update the table of contents based on what sections you keep.
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
- Live Site URL: Add live site URL here
- Bootstrap 5
Working with a page for both desktop and mobile was the biggest learning point in this project.
I also learned how to pick and use different font weights in a page, how to work with pseudo-classes such as :hover and :active, and use color gradients in a page.
Using CSS variables for repeated elements like colors was a small, but very useful tool i picked up along the way.