0

frindds help me i have made local calucleter but it's not working

please correct my code https://code.sololearn.com/Wd2ZdO5D4tCu/?ref=app

28th Feb 2020, 6:45 AM
𝗣𝗮𝘄𝗮𝗻 𝗞𝘂𝗺𝗮𝗿 🅟︎🅚︎
𝗣𝗮𝘄𝗮𝗻 𝗞𝘂𝗺𝗮𝗿 🅟︎🅚︎ - avatar
2 Réponses
+ 3
Check your second value. You are getting first value in second variable. var num2=document.getElementById("num1").value; here should be ("num2") instead of ("num1")
28th Feb 2020, 6:50 AM
A͢J
A͢J - avatar
+ 1
Thanks 😊😎😊😊😊😎 for correct answer
28th Feb 2020, 6:56 AM
𝗣𝗮𝘄𝗮𝗻 𝗞𝘂𝗺𝗮𝗿 🅟︎🅚︎
𝗣𝗮𝘄𝗮𝗻 𝗞𝘂𝗺𝗮𝗿 🅟︎🅚︎ - avatar