Web Editor : not defined width

You should properly indent your code so you & others can study them comfortably. :pensive:

Use this site service for it :arrow_right: Beautifier.io

Back to your code, even though you check img for the 1st image(), the 1 inside your triple loop is missing. :grimacing:

Actually, you should skip your whole triple for loop if there’s no img. :upside_down_face:

Also, you’re loading the p5js libraries 2 times in your “index.html” file! :astonished:

1 Like