0

Is it only the head tag that a JavaScript document could be written on?

24th Aug 2018, 1:59 PM
Ebuka Okoro Stephen
Ebuka Okoro Stephen - avatar
4 Answers
+ 1
nope, you can include it at the end of the body so the webpage loads faster
24th Aug 2018, 2:07 PM
Sam Pache
Sam Pache - avatar
0
so is that d best possible way?
24th Aug 2018, 2:09 PM
Ebuka Okoro Stephen
Ebuka Okoro Stephen - avatar
0
it depends on your code, if your js is huge, yes it is :)
24th Aug 2018, 2:09 PM
Sam Pache
Sam Pache - avatar
0
kk thanks guys
3rd Oct 2018, 12:22 AM
Ebuka Okoro Stephen
Ebuka Okoro Stephen - avatar