0

Calculator

Can I do sample calculator without Javascript ?

24th Dec 2020, 6:14 AM
Nasser
Nasser - avatar
8 Answers
+ 11
Well you cannot. Without javascript you can just make a calculator which does not work which means only design. Javascript is used to add functionality of calculator to your calculator code. Hope this helps.
24th Dec 2020, 6:20 AM
Ketan [#Be Happy 😄]
Ketan [#Be Happy 😄] - avatar
+ 7
Nasser It might be only design of calculator or a structured calculator not an "actual calculator performing random calculations".
24th Dec 2020, 6:24 AM
Ketan [#Be Happy 😄]
Ketan [#Be Happy 😄] - avatar
+ 3
Nasser Yes. Like this. <span> 4 + 5 = 9 </span>
24th Dec 2020, 6:20 AM
A͢J
A͢J - avatar
+ 2
Nasser can you provide the link of the code where you have seen this.
24th Dec 2020, 6:49 AM
Krish
Krish - avatar
+ 2
Nasser there JavaScript is used here. In the onclick function there JavaScript is written which does the work.
24th Dec 2020, 7:05 AM
Krish
Krish - avatar
+ 1
Krish oh yes thanks brother
24th Dec 2020, 7:06 AM
Nasser
Nasser - avatar
0
I see someone do it without Javascript
24th Dec 2020, 6:22 AM
Nasser
Nasser - avatar
24th Dec 2020, 7:02 AM
Nasser
Nasser - avatar