A simple web-based calculator built with HTML, CSS, and JavaScript.
Human-Written Code
This project was independently developed, using AI only as tool for troubleshooting and learning.
Hence this project demonstrates the acquired basic programming skills and an authentic learning progress.
- Basic arithmetic operations:
+,-,*,/,% - Square root calculation
- Delete last character & clear input
- Keyboard support for numbers and operators
- Responsive layout with maximum input length based on screen size
This project was created to practice collaboration between web technologies, with a focus on JavaScript:
- Event listeners (
clickandkeydown) - Loops (
forEach) - Functions (modular handling of operations, clear, delete, and sqrt)
- Input validation and responsive behavior
- Open
index.htmlin a browser. - Use the on-screen buttons or keyboard keys (
0-9,+,-,*,/,%,sfor √,Enterfor =,Backspace,Delete).
