- 1

Good morning sir. I want to interact my code js with the html code. I have error. Thanks you sir.

Interact JavaScript with html code. https://code.sololearn.com/Wl2FEW7Yaw7J/?ref=app

28th Dec 2021, 6:14 AM
Malick Diagne
Malick Diagne - avatar
1 Odpowiedź
+ 3
Put your JS code inside this window.onload = function() { //Your code }; So your code will be executed as soon as the page has loaded, but not before that
28th Dec 2021, 6:31 AM
CGM
CGM - avatar