Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.42 KB

File metadata and controls

43 lines (25 loc) · 1.42 KB

Frontend Mentor - Pricing component with toggle solution

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.

Table of contents

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

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

Links

My process

Built with

  • Bootstrap 5

What I learned

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.