Skip to content

This is a simple calculator application built using Node.js and Express.js. It provides basic arithmetic operations and a BMI (Body Mass Index) calculator.

Notifications You must be signed in to change notification settings

R-i-t-i-k-a/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator Application

This is a simple calculator application built using Node.js and Express.js. It provides basic arithmetic operations and a BMI (Body Mass Index) calculator.

Installation

  1. Make sure you have Node.js installed on your machine.

  2. Clone this repository or download the source code.

  3. Navigate to the project directory.

  4. Install the dependencies by running the following command:

    npm install

Usage

  1. Start the server by running the following command:

    node app.js

    The server will be active on port 3000.

  2. Open your web browser and visit http://localhost:3000 to access the calculator.

  3. Calculator Page:

    • Enter two numbers in the input fields.
    • Select an operation from the dropdown menu.
    • Click the "Calculate" button to perform the operation.
    • The result will be displayed on the page.
  4. BMI Calculator Page:

    • Visit http://localhost:3000/bmi to access the BMI calculator.
    • Enter your height and weight in the provided input fields.
    • Click the "Calculate BMI" button.
    • The calculated BMI will be displayed on the page.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.

Happy calculating!

About

This is a simple calculator application built using Node.js and Express.js. It provides basic arithmetic operations and a BMI (Body Mass Index) calculator.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published