How to link external JavaScript to HTML/Beginner Level:Lesson 2

preview_player
Показать описание
It this video is explained how to link JS to HTML and why it should be linked in the body and not in the head section.

In short:
CSS should be linked in the head because our style has to run first in order for our page to look great.

JS should be linked right before closing body tag because this improves the loading speed of the page.
Рекомендации по теме
join shbcf.ru