Skip to content

This code uses React, ReactDOM, and Bootstrap to render a calculator interface. Users input two numbers via a form, which updates the calculated value using state.

License

Notifications You must be signed in to change notification settings

AbubakarYasir/simple-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator App

This is a simple calculator app built using React. It allows users to input two numbers and perform basic mathematical operations on them. The result is displayed below the input form.

Getting started

To run this app on your local machine, you will need to have Node.js and npm installed. Once you have those, follow these steps:

  1. Clone this repository to your local machine
  2. Open the terminal and navigate to the project folder i.e. cloned repository
  3. Run npm install to install the dependencies
  4. Run npm start to start the development server
  5. Open your browser and go to http://localhost:3000 to view the app

Usage

To use the calculator, simply input two numbers in the input fields and click on one of the mathematical operation buttons (+, -, \*, /) to perform the calculation. The result will be displayed below the input form.

Technologies used
  • React: A JavaScript library for building user interfaces
  • ReactDOM: A package that provides DOM-specific methods for React
  • Bootstrap: A CSS framework for building responsive and mobile-first websites
Contributions

Contributions are welcome! If you find a bug or have an idea for an improvement, feel free to submit an issue or a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This code uses React, ReactDOM, and Bootstrap to render a calculator interface. Users input two numbers via a form, which updates the calculated value using state.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published