[HTML Quiz] External JavaScript | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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