Skip to content

FelipeEnne/React-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


React Project - Calculator

Table of Contents

About The Project

The goal of this project is build a calculator using create-react-app, a tool built by developers at Facebook to help you build React applications, saving you from time-consuming setup and configuration.

img

Basic project structure

Create components

  • Prepare the directory structure;
  • Implement the App component;
  • Implement the Display component;
  • Implement the Button component;
  • Implement the ButtonPanel component.

Adding Styling

  • Use grid display mode for App, Display and ButtonPanel component;
  • Style the Display component;
  • Style the ButtonPanel component;
  • Style the Button component;
  • Pass “color” and “wide” props to the Button.

Calculations

  • Preparation;
  • Implement the calculate.js module
  • Implement the operate.js module
  • Add calculate.js to the App component

Event handlers

  • App component
  • ButtonPanel
  • Button

Built With

  • Node.js
  • React
  • React-DOM
  • React-Create-App
  • npm
  • CSS
  • ES6

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Releases

No releases published

Packages

No packages published