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.
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
- Solution URL:https://www.frontendmentor.io/solutions/responsive-pricing-component-with-toggle-zY6iLSv-eF
- Live Site URL: https://uzmakh.github.io/pricing-component-with-toggle-master/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
===> Completed the semantic markup structure of the page. ===> Set the style.css according to the style-guide.md --> import the google-fonts link for the Montserrat font for weights 700-bold --> reset the browser-default css --> set the color-theme in root selector --> set the html font-size to 15px
--> set the utility classes for section, container, buttons for spacing and font-sizes. --> set the hover states of the buttons --> used flexbox for the layout --> used media queries for desktop screen.
Toggling with JS