New calculator for you all | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 14

New calculator for you all

The most simple and easiest way to code a calculator https://code.sololearn.com/WxIxE8bz3iPx/#html

11th May 2017, 12:57 PM
Abdel
Abdel - avatar
15 Answers
+ 12
>>great job @Abdel ....
11th May 2017, 4:44 PM
#Happy@777
#Happy@777 - avatar
+ 14
Much better than my "Online Calculator".
12th May 2017, 3:12 PM
Biraj Patel
+ 11
nice work👍
27th Jun 2017, 1:32 PM
.Neha.
.Neha. - avatar
+ 10
nice
12th May 2017, 4:12 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 5
I can't understand how you could do this without Javascript.
13th May 2017, 1:43 AM
Myke Albuquerque Pinto de Oliveira
Myke Albuquerque Pinto de Oliveira - avatar
+ 4
@wahid , yeah that's right onclick="calculator.input.value += '9' " will give you number 9
13th May 2017, 8:39 AM
Abdel
Abdel - avatar
+ 3
Nice. :)
11th May 2017, 9:13 PM
Xander A.
Xander A. - avatar
+ 3
cz the value = number. allright?
13th May 2017, 4:44 AM
wahid
wahid - avatar
+ 3
@Myke , actually these is JavaScript 1- .value 2- eval() function I used inline JavaScript because it's easier with onclick events
13th May 2017, 8:36 AM
Abdel
Abdel - avatar
+ 3
good job !!
29th Aug 2017, 9:53 AM
AL.The.Flame!
AL.The.Flame! - avatar
+ 2
beautiful
12th May 2017, 6:15 AM
farouz
+ 2
good job...
12th May 2017, 2:46 PM
wahid
wahid - avatar
+ 2
Thanks, now I got it.
13th May 2017, 9:47 AM
Myke Albuquerque Pinto de Oliveira
Myke Albuquerque Pinto de Oliveira - avatar
+ 1
cool
12th May 2017, 11:01 PM
The Greatest
The Greatest - avatar
0
good work
30th Jul 2017, 5:17 PM
Akash Pathania
Akash Pathania - avatar