Whats wrong in code I am not getting the result | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
+ 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
Rohit
+ 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