PLS can anyone help me with a js code for a simple calculator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

PLS can anyone help me with a js code for a simple calculator

13th Sep 2022, 1:09 PM
Anslem Cheta
Anslem Cheta - avatar
6 Answers
+ 4
You can search in Sololearns code section and find out very big number of samples. Here one of them: https://code.sololearn.com/Wm2Es9SO3vHa/?ref=app
13th Sep 2022, 2:57 PM
JaScript
JaScript - avatar
+ 3
How is the text of the problem and where is your attempt with a spcific question?
13th Sep 2022, 2:36 PM
JaScript
JaScript - avatar
+ 2
We can help but you have to attempt it first and then share with us what the problem is and the code which has the problem. Can you do that?
13th Sep 2022, 2:34 PM
Ausgrindtube
Ausgrindtube - avatar
+ 2
Anslem Cheta you start by deciding how your program should work. What will be it's capabilities, how will it interact with the user. The most simple JavaScript calculator can be as much as: console.log(1+1) functionality: it is able to calculate the sum of two numbers input: the user can enter the numbers directly in the code output: result is printed to console obviously this looks VERY simple, but it could be a start :) When you have your requirements, you can begin coding.
14th Sep 2022, 8:43 AM
Tibor Santa
Tibor Santa - avatar
0
Guys there's no error, it's just that I don't know where to start
13th Sep 2022, 2:39 PM
Anslem Cheta
Anslem Cheta - avatar
0
Thanks guys
14th Sep 2022, 8:55 AM
Anslem Cheta
Anslem Cheta - avatar