A website display of a calculator.
Created a calculator using HTML, CSS, and Javascript User should be able to press buttons on calculator to display desired number and calculation.
- When numbers are pressed, numbers should display on the calculator screen.
- When an operator is selected, it should be highlighted and stored in the equation displayed on the calculator screen.
- When the equal button is selected, the answer to the equation should be displayed on the calculator screen.
- User has an option to add a decimal to number value, as well as inverting the number to positive or negative.
- When the user clicks on the delete button, it should erase the number value displayed. If the user selects the clear button, the entire equation and number value (if displayed) should be erased.
-
Make sure you have the proper VSCode version installed on your computer
-
Download the Calculator project files from the repository
-
Open the project files in VSCode
-
Review code and make sure you understand what it does
-
Run active scheme
You should see the application run on web server of your choosing. If you have any issues or need help, feel free to contact me for assistance.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.