Skip to content

K-Mannnn/Pricing-Component-with-Toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 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

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

Screenshot

screencapture-file-Users-kiran-Desktop-pricing-component-with-toggle-master-index-html-2021-09-20-18_23_32

screencapture-file-Users-kiran-Desktop-pricing-component-with-toggle-master-index-html-2021-09-20-18_17_41

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox

What I learned

This project has been a good learning curve both in terms of Html markup and CSS properties especially pseudo classes and CSS specificity. As laid out by the creator of this challenge, I used only CSS and html to get the toggle functionality and switching displays going (no javascript), so discovered some CSS limitations and some new properties along the way.

Continued development

I have not been able to create the keyboad control affect on the toggle switch, that's I would like to learn anf improve on.

Acknowledgments

Front-end Mentor for providing these free challenges to practice my skills and the Front-end community for their continued support.

About

Html, CSS only design

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published