What is wrong with the JS here? | Sololearn: Learn to code for FREE!

0

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

1/20/2022 5:56:43 PM

Kamil Hamid

2 Answers

New Answer

0

You process the script before button is defined

0

thanks