GithubHelp home page GithubHelp logo

maciejnarejko / calculator-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 756 KB

Calculator App challenge from frontendmentor.io created using React, styled components.

Home Page: https://maciejnarejko.github.io/calculator-app/

HTML 3.90% CSS 2.93% JavaScript 93.17%
calculator calculator-app calculator-javascript frontend frontend-mentor frontendmentor-challenge react styled-component

calculator-app's Introduction

Calculator App

About the Project

The challenge is to build out calculator app and get it looking as close to the design as possible. For this purpose you can use any tools you like to help you complete the challenge.

Project assumptions:

  • Mathematical operations handling like addition, subtraction, multiplication and division,
  • Adjust size of the elements to screen size,
  • Select color theme based on user preferences,
  • Check for the user's initial theme preference in local storage;

Additional assumptions:

  • Implementing keyboard shortcuts for improved application control,
  • Conducting mathematical operation validation,
  • Implementing hover and click button effects.

This is a solution to the Calculator App on Frontend Mentor.

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Grid/Flex
  • React
  • JavaScript
  • Styled components
  • Mobile-first workflow

Local Setup

  1. Download or clone the repository.
  2. Navigate to the project directory in your terminal.
  3. Run npm install to install all dependencies.
  4. Run npm start to start the development server.
  5. Open a browser and navigate to http://localhost:3000 to view the app.

Running Tests

To run the tests, you can use the command npm test. This will start the test runner and run all tests in the project. You can also use the command npm test [path-to-test-file] to run a specific test file.

Author

Acknowledgments

Thanks to the FrontendMentor.io community for a code review. Together we create better code.

calculator-app's People

Contributors

maciejnarejko 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.