Giter VIP home page Giter VIP logo

catherineisonline / pricing-component-with-toggle-frontendmentor Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 4.0 853 KB

This is my solution to the pricing component with toggle challenge on Frontend Mentor. [ARCHIVED]

Home Page: https://catherineisonline.github.io/pricing-component-with-toggle-frontendmentor/

License: MIT License

JavaScript 14.31% HTML 24.46% CSS 61.23%
pricing-table pricing-component pricing-plans toggle-switches toggle-buttons toggle-switch frontend-mentor frontendmentor frontendmentor-challenge frontendmentorchallenge

pricing-component-with-toggle-frontendmentor's Introduction

Pricing Component With Toggle

Pricing Component With Toggle

Live | Solution | Challenge

Solution for a challenge from frontendmentor.io

About The Project

This challenge will get you thinking about building an accessible custom toggle control and also test your layout skills. The challenge is to build out this pricing component and get it looking as close to the design as possible. You can use any tools you like to help you complete the challenge. So if you've got something you'd like to practice, feel free to give it a go.

Users should be able to:

  1. View the optimal layout depending on their device's screen size.
  2. See hover states for all interactive elements on the page.
  3. Control the toggle with both their mouse/trackpad and their keyboard.
  4. Bonus: Complete the challenge with just HTML and CSS.

I do not have access to the Figma sketch so the design is not pixel perfect.

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flex
  • Grid
  • Desktop-first workflow
  • JavaScript

What I learned

Another quick project to practice some JavaScript and CSS. Nothing new that I learned however decreased the timing to do the projects in general. Used to take much longer.

Useful resources

  1. Figma - Paste your design image to check the size of containers, width, etc.
  2. Perfect Pixel - Awesome Chrome extension that helps you to match the pixels of the provided design.

Acknowledgments

A big thank you to anyone providing feedback on my solution. It definitely helps to find new ways to code and find easier solutions!

pricing-component-with-toggle-frontendmentor's People

Contributors

catherineisonline avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.