- 1
Pls help me draw things with html and JavaScript
I keep getting errors however I do it can someone just give me a code for a basic rectangle with html and JavaScript That'd be very helpful my head hurts for 3 days trying to figure out my bugs
6 odpowiedzi
+ 1
Rafin well I've had this problem many times and apparently it's due to the fact that the html content hasn't loaded before the js one is executed, so the fix i found to that is to put the js content right after the html content in the body tag using the script tag
https://code.sololearn.com/WZwKp9nPXlqf/?ref=app
+ 4
Java or JavaScript?
+ 1
Show us your attempt and will will assist you further.
0
A͢J oof sorry I meant JavaScript
0
Jalaj Madaan ❤️❤️❤️