This is an open-source calculator application built using Next.js. It allows users to perform basic arithmetic operations easily and showcases features of a modern frontend project. The user interface is simple, with two input fields for numbers, a result display, and buttons for different arithmetic operations.
- Perform arithmetic operations: addition, subtraction, multiplication, and division.
- Responsive and intuitive user interface with a minimalist design.
- Built using Next.js, styled with Tailwind CSS (or any other styling tech you're using).
The calculator has a sleek, dark-themed user interface:
- Title: "The Open-Source Calculator" at the top.
- Input Fields: Two fields for users to enter numbers.
- Result Display: Shows the result of the calculation.
- Operation Buttons: Buttons for "Add", "Subtract", "Divide", each with a white background, black border, and grey text.
- Clone the repository:
git clone https://github.com/ay-bh/the-open-source-calculator.git
- Navigate to the project directory:
cd CICD-demo
- Install the dependencies:
npm install
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser to view the calculator.
- Enter two numbers in the input fields and choose an operation by clicking on one of the buttons (Add, Subtract, or Divide) to see the result below the input fields.
- Example: To add 5 and 10, enter "5" in the first input, "10" in the second input, and click on the "Add" button to see the result "15" displayed below.
Please refer to our Contribution Guidelines to get started with contributing to this project.
This project is licensed under the MIT License - see the LICENSE file for details.