An advanced web-based calculator with support for basic arithmetic, scientific functions, and a clean user interface. This project is built using HTML, CSS, and JavaScript, and is designed for browser use.
You can try the live version of the calculator here: Live Demo on GitHub Pages
- Basic Operations: Addition, subtraction, multiplication, and division.
- Scientific Functions:
- Square root (
√) - Power (
xⁿ) - Trigonometric functions (
sin,cos,tan) - Logarithms (
log)
- Square root (
- Parentheses Support: Handle complex expressions with brackets (e.g.,
(2 + 3) * 5). - Memory Features:
- Clear (
C) - Backspace (
⌫)
- Clear (
- Responsive Design: Optimized for various screen sizes.
- Clone or download this repository to your local machine.
- Open the
index.htmlfile in your preferred web browser. - Use the on-screen buttons to perform calculations:
- Enter numbers and operators using the provided buttons.
- Click
=to evaluate the expression. - Use
Cto clear the display or⌫to delete the last input. - Use scientific buttons for advanced calculations.
- Basic:
2 + 2→4 - Scientific:
sin(90)→1 - Complex:
(3 + 5) * 2^3→64
