+ 3
[SOLVED]Why this code is not working and showing error anybody tell me what is the problem in js code please
5 Respostas
+ 5
https://code.sololearn.com/W92dYLQYCylN/?ref=app
Please check your html code number of things are missing like English_result is like element with id not present.
please add also those things.
+ 5
Ansheeta Most Welcome 👍.
+ 5
Ansheeta take this your code Now it's Perfect 👍👍👍.
No error is show.
https://code.sololearn.com/W92dYLQYCylN/?ref=app
+ 4
Thank you. Mohammed Qadir khan Jayakrishna🇮🇳
+ 1
At first glance you missed naming tm function.. function(){ 'should be like function f1() { //here I named f1 as function name..
And you missing variable declaration..
So
var english_2nd.getElementById ("english_2nd").value; is also wrong. It shloud be like :
var English_2nd = document.getElementById ("english_2nd").value