George Catalin George Catalin - 3 months ago 12
HTML Question

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

This is a page of my website http://potcoava.cu.cc/joc/joc.html 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.
http://potcoava.cu.cc/joc/joc.html

Answer

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.

Comments