+ 1

Whats wrong in code I am not getting the result

https://code.sololearn.com/Wzbfdm14YT2U/?ref=app

20th Feb 2021, 6:14 AM
Atharva
Atharva - avatar
3 Réponses
+ 3
Atharva your code is fine but had some typos. Check out your code line 12, 17 and 19. In line 12 you forgot equal sign after name. <input type="text" name="text_eng"><br><br> In line 17 you have typo with your function name, <input type="button" value="Calucate Average and point grade" onclick = "calucate_grade()"> https://code.sololearn.com/WtqNTJnWze3m/?ref=app
20th Feb 2021, 6:21 AM
minirkk
minirkk - avatar
+ 2
you should call and define function with same name (once 'calulate_grade' and once 'calucate_grade' ^^)
20th Feb 2021, 6:17 AM
visph
visph - avatar
+ 1
Atharva Please tag Javascript to improve thread context clarity 👍
20th Feb 2021, 9:22 AM
Ipang