https://github.com/uzmakh/pricing-component-with-toggle-master
https://github.com/uzmakh/pricing-component-with-toggle-master
flexbox-css mobile-first semantic-structure semantic-ui toggling-with-js
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/uzmakh/pricing-component-with-toggle-master
- Owner: Uzmakh
- Created: 2025-02-15T15:29:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-16T05:35:29.000Z (over 1 year ago)
- Last Synced: 2025-03-01T20:43:50.330Z (over 1 year ago)
- Topics: flexbox-css, mobile-first, semantic-structure, semantic-ui, toggling-with-js
- Language: CSS
- Homepage: https://uzmakh.github.io/pricing-component-with-toggle-master/
- Size: 297 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor - Pricing component with toggle solution
This is a solution to the [Pricing component with toggle challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/pricing-component-with-toggle-8vPwRMIC). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## Table of contents
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Continued development](#continued-development)
- [Useful resources](#useful-resources)
- [Author](#author)
- [Acknowledgments](#acknowledgments)
## 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


### Links
- 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/
## My process
### Built with
- 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.
### What I learned
**Toggling with JS**