Skip to content

A calculator created using React, that provides basic mathematical operations.

Notifications You must be signed in to change notification settings

Tianennnn/Simple-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Calculator

This project is a simple calculator created using React. The user interface is inspired from the Calculator app on iPhones. It has buttons for numbers and operators, with a display showing the input and results.

The calculator can perform the four basic mathematical operations: addition, subtraction, multiplication, and division.

Calculator Screenshot

Getting Started

Running the application requires the runtime environment Node.js and npm. Make sure these are installed on your computer.

First, in order to run the application, node_modules folder needs to be installed locally. There is a package.json file inside the project's main folder. Type the following command inside a terminal, with the terminal pointing to the directory that contains the package.json file.

npm install

This command will install the node_modules folder with all the npm packages necessary for running this application. Once the command is finished, the app can now be served locally by running the following command:

npm start

This will end up with the following output in the terminal:

Compiled successfully!

We now have the application running on localhost:3000. To view the application, open a browser with the address bar pointing to http://localhost:3000, and now you can start exploring the calculator!

About

A calculator created using React, that provides basic mathematical operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published