Calculator | Sololearn: Learn to code for FREE!



Can I do sample calculator without Javascript ?


12/24/2020 6:14:15 AM


8 Answers

New Answer


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.


Nasser It might be only design of calculator or a structured calculator not an "actual calculator performing random calculations".


Nasser Yes. Like this. <span> 4 + 5 = 9 </span>


Nasser can you provide the link of the code where you have seen this.


Nasser there JavaScript is used here. In the onclick function there JavaScript is written which does the work.


Krish oh yes thanks brother


I see someone do it without Javascript

0 Link