Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 4
[HTML Quiz] External JavaScript
I got this question recently via HTML challenge but failed to get it correct, anybody can throw me some light? The external JavaScript file must contain the <script> tag. by Marco Macdon Answer: True / [False โ]
6 Answers
+ 5
@Zephyr
the question asks if you need the script element in the external JS file
false
+ 4
Yes, Lord Krishna is right๐๐
๐
... That's what happens when you are impatient and careless...
+ 4
Oh I see! It seems I failed to interpret the question correctly, my fault. ๐ต
Thanks Lord & Ledio!
+ 3
I think the question says:
".... the script attribute"
But <script> is not an attribute, its a tag..
I think that's why the answer is False...
Hope I'm right๐
...
+ 3
I understand it's possible to load external resources via JS without direct reference in the webpage. Besides, are there any other possibilities? If so, I admit it's my mistake and I hope it's not a word-play. ๐
+ 3
@Zephyr
I've made the same mistake too๐
Finally the things are cleared up๐