This is my first small JavaScript project, built while learning with Open EDG.
Itโs a simple calculator that:
- Asks the user for two numbers
- Asks which math operation to use (+, -, *, /)
- Does the math and shows the answer
- Uses
prompt()
for user input - Handles different math operations with a
switch
statement - Includes basic input validation (so it wonโt break easily!)
- JavaScript (Vanilla)
Thanks to Edube for the lessons that helped me build this project while starting my JavaScript journey.