+ 6

[SOLVED]External js from web breaks execution of internal script.

I want to use functions from script from internet in my js code, but when I try to implement it in head of html it causes white screen. And when I place script in body of html it causes errors. You can uncomment the external code declaration in code below place it where you want and see what's happening. Maybe did I something wrong in external script? Pls help. https://code.sololearn.com/WMwilODKZ944/?ref=app

10th Feb 2018, 9:42 AM
Amadeus
Amadeus - avatar
2 ответов
+ 2
Script tags needs closing tags. It should be like this: <script type="text/javascript" src="http://www.tesseract.cba.pl/antygravity.js"> </script>
10th Feb 2018, 10:24 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar
+ 4
Thanks for your answer. Little problem :)
10th Feb 2018, 10:26 AM
Amadeus
Amadeus - avatar