0

I am a little confused since I am a beginning. I just started learning JQuery using Codecademy's tutorial.

They say I should put all Scripts just before the end of the </body> tag of an HTML document.

Snippet from Codecademy

I then read what W3SChools have said and they recommend putting this in the <head> of an HTML document.

Snippet from W3SChools

If someone could clarify what the best practice is that would really help. Unless there isn't a difference, then I apologise for my naivety.

Justin
  • 954
  • 4
  • 22
  • 44

0 Answers0