+ 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 ✔]

23rd Aug 2017, 8:45 AM
Zephyr Koo
Zephyr Koo - avatar
6 Answers
+ 5
@Zephyr the question asks if you need the script element in the external JS file false
23rd Aug 2017, 8:55 AM
Lord Krishna
Lord Krishna - avatar
+ 4
Yes, Lord Krishna is right😂😅😅... That's what happens when you are impatient and careless...
23rd Aug 2017, 8:58 AM
Ledio Deda
Ledio Deda - avatar
+ 4
Oh I see! It seems I failed to interpret the question correctly, my fault. đŸ˜” Thanks Lord & Ledio!
23rd Aug 2017, 9:02 AM
Zephyr Koo
Zephyr Koo - avatar
+ 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😅...
23rd Aug 2017, 8:47 AM
Ledio Deda
Ledio Deda - avatar
+ 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. 😅
23rd Aug 2017, 8:48 AM
Zephyr Koo
Zephyr Koo - avatar
+ 3
@Zephyr I've made the same mistake too😂 Finally the things are cleared up👍
23rd Aug 2017, 9:03 AM
Ledio Deda
Ledio Deda - avatar