I have a question in the below statement, provided in the tip section in chapter two | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

I have a question in the below statement, provided in the tip section in chapter two

If you want to get elements in the body, it's a good idea to place your script at the end of the body tag. ------------ Why should we use <script> at the end of the body?

4th Mar 2020, 7:08 PM
akshay
akshay - avatar
1 Respuesta
+ 3
To give other DOM Elements time to load.
4th Mar 2020, 7:21 PM
Kevin ★