+ 1
Please someone tell me why my javascript won't run!
https://code.sololearn.com/WpZS8RM23NdL/#html Can someone please correct my code so it draws the js picture when I run it.
6 Respuestas
+ 5
Are you trying to use p5.js?
+ 4
window.addEventListener('load',onLoad);
function onLoad(){
setup();
draw();
}
Add this to the beginning of your js code, that should make your functions execute, but there are still some errors with them, the rest is up to you, good luck👍
+ 3
Functions cannot execute themselves
+ 1
Do you know how to fix it?
+ 1
Not really
+ 1
Ok I see thanks for the help guys!