Don't get it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Don't get it?

anthers example of JavaScript extra explaintion needed here!!

12th Jul 2017, 4:17 PM
mohammed al-sarem
mohammed al-sarem - avatar
3 Answers
+ 1
I am trying to past this using: 1) img, 2) length, 3) src And it is says faild
19th Jul 2017, 5:32 PM
Samuel Mayol
Samuel Mayol - avatar
0
I find commenting out all the .js (crtl + a, then ctrl+ /) initially and running just the html, gives an idea of what it looks like with out the .js. Then uncomment the .js and run the code again, and see the output with the script. Then read the .js, line by line to try and understand what it's doing. This might also help you understand it, it helped me.
17th Jul 2017, 7:16 PM
Richard Mashava
Richard Mashava - avatar
- 1
P5 dom? It's by Processing, it's a library filled with easy to use functions for you. Check it out here: https://p5js.org/reference/#/libraries/p5.dom It's very useful, I wrote this snake game in a few hours with it. https://code.sololearn.com/W2sIAI6fzSC6/?ref=app
12th Jul 2017, 5:24 PM
Rrestoring faith
Rrestoring faith - avatar