0
Why are there no script tags in the html in the code examples?
missing script tags?
4 Answers
+ 1
@Jeremy Benson Thanks, but don't those files still need to be referred to by a script tag with a src= attribute in the html?
0
The tutorial mentions JS can live in .js files. Its normal to see js examples without script tags.
0
You are right, I guess they could clarify that. This is an entry level course. I submitted this as feedback. However if you study further, expect to not script tags in code examples. Also js can be run on servers too now, in which case there will not be an html tag. Valid js is compiler agnostic after all.
0
because those are external files