George Catalin George Catalin - 6 months ago 26
HTML Question

Unexpected token < in index .. i don't have a web page like this

This is a page of my website In my desktop everything work perfectly but when i upload it on my website i get the error unexpected token and i don't know how to solve it because it is not a token on my actual website.


On line 47 in you index file you are including load.js file which contains <script> tag inside itself. Just remove it end your code should work.
As an answer to your comment, naming Javascript file load.js is not illegal, but it is illegal to put <script> tag inside external Javascript file like you did in load.js.