Skip to content

AhmedHHamdy/100devs-calculator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Calculator

This is a calculator web application that performs basic arithmetic operations such as addition, subtraction, multiplication, and division. The application was built using HTML, CSS, and JavaScript.

Link to project: https://100devscalculator.netlify.app/

How It's Made:

Tech used: HTML, CSS, and JavaScript

The calculator was built using HTML and CSS to create the user interface and JavaScript to implement the functionality. The calculator has a basic layout with buttons for numbers, operators, and the clear button. When a button is clicked, the JavaScript code updates the display with the corresponding value.

Optimizations

To optimize the calculator, I implemented a decimal point button to allow for more precise calculations. Additionally, I added a feature that allows the user to chain together multiple operations in a row, without having to hit the equals button after each one.

Lessons Learned:

Through building this calculator, I gained experience in working with JavaScript and manipulating the DOM. I learned how to structure code for a simple application, how to handle user input, and how to perform basic calculations using JavaScript. I also learned about the importance of testing and debugging, and how to use the console to find and fix errors.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published