A basic web-based calculator built with HTML, CSS, and JavaScript .
This project provides a simple calculator interface that supports:
- Number input (0-9)
- Basic arithmetic operations: addition, subtraction, multiplication, and division
- Result evaluation with the
=button - Clear function to reset the display
a.html- main calculator page containing HTML structure, inline CSS styling, and JavaScript logic
- Open
a.htmlin a web browser. - Click the number and operator buttons to build a calculation.
- Press
=to see the result. - Press
Cto clear the display.
- The calculator uses JavaScript's
eval()function to compute results. - Styling is applied directly inside the HTML file for a compact assignment delivery.