0
What code can I use to make my calculator work using Javascript on code.org?
So, I'm trying to make a app using Javascript but since I started this a few months ago, I don't understand how to make actual equations with a calculator.
3 Answers
+ 2
MickeyAnif Do search on google you get an idea how to make calculator.
Hint: To make calculator
âą Using arithmetic operators to do the calculation
âą Use logic if-else/ switch statements.
+ 2
MickeyAnif Please share your attempt code.
0
use eval(expression: string) like this
https://sololearn.com/compiler-playground/W67skgudp6Cj/?ref=app