CommunityOfCoders / CommunityOfCoders/WebGenesis

Develop a Functional Calculator Using HTML, CSS, and JavaScript

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Easy HTML + CSS + JS
Dominant language
HTML
Stars
10
Forks
77
PR merge metrics
No merged PRs in 30d

Description

Create a calculator using HTML, CSS, and JavaScript that can perform basic and advanced mathematical operations. It should have a user-friendly interface and support real-time input validation.

### Functions to be Added

1. **Basic Operations:**
- Addition (+)
- Subtraction (-)
- Multiplication (*)
- Division (/)

2. **Advanced Functions:**
- Exponentiation (x^y)
- Square root (√x)

3. **Trigonometry:**
- sin, cos, tan
- sin⁻¹, cos⁻¹, tan⁻¹

5. **Constants & Features:**
- Pi (π)
- Euler’s number (e)

6. **User Interaction:**
- Clear (C)
- Backspace (⌫) buttons

If the user enters a value that is not valid for a function (e.g., sin⁻¹(2) or √-1), the calculator should show an error message.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.