Calculator | Sololearn: Learn to code for FREE!

0

Calculator

Can I do sample calculator without Javascript ?

web

12/24/2020 6:14:15 AM

Nasser

8 Answers

New Answer

+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.

+7

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

+3

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

+2

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

+2

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

+1

Krish oh yes thanks brother

0

I see someone do it without Javascript

0

https://code.sololearn.com/WhoktXJ8tSMd/?ref=app Link