New course! Every coder should learn Generative AI!
Try a free lesson0
What is wrong with the JS here?
Can someone please tell me what is wrong in the javascript that is not letting .onclick to call the function in this code: https://code.sololearn.com/Www9u2SuVg3h
2 Answers
0
You process the script before button is defined
0
thanks