Sakshi Kumari's Second Project banner

Sakshi Kumari's Second Project

1 devlog
3h 14m 27s

This project is a web-based calculator that allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division. It provides a simple and interactive interface where users can input numbers, use operator…

This project is a web-based calculator that allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division. It provides a simple and interactive interface where users can input numbers, use operators, and get instant results. It also includes features like clearing all input (AC) and deleting the last entered value (DEL).
This project is developed by Sakshi Kumari as part of learning and practicing web development, especially JavaScript DOM manipulation and event handling.

This project uses AI

I used AI here for effect of button like hover and I used for writing description for this project

Demo Repository

Loading README...

sakshikhushi25

I started by creating the basic structure of the calculator using HTML. I added input fields and buttons for numbers and operators to build the layout of the application and also worked o n css part.
I implemented JavaScript logic to handle button clicks. I used event listeners to capture user input and display it dynamically in the input box.
I worked on the core logic of the calculator. I used a string to store input values and applied the eval() function to calculate results when the “=” button is pressed and added functionality for AC (clear all) and DEL (delete last character) buttons. This improved the usability of the calculator..

Attachment
0