Skip to content

LeonChuu/pricing-component-with-toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

 
 
 

Contributors