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.
-
Make sure you have Node.js installed on your machine.
-
Clone this repository or download the source code.
-
Navigate to the project directory.
-
Install the dependencies by running the following command:
npm install
-
Start the server by running the following command:
node app.js
The server will be active on port 3000.
-
Open your web browser and visit http://localhost:3000 to access the calculator.
-
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.
-
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.
Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.
Happy calculating!