Unexpected token <


#1

I’m trying view a simple HTML page, but when I click run, I get an error in the console saying unexpected token “<”. This is the opening tag to the tag at the top of the page. Obviously something is not set up correctly. I’m trying to mimic running a local host server or even just viewing the html page as a local file. What do I have to do to view a simple index.html page with a JS file linked to it?


#2

Hey @MichaelLSmith :slightly_smiling:,

You can choose the HTML5 Workspace and then things should work like any other files & folders HTML/CSS/JS project setup. See:

If you’re still having issues and you can share your public workspace, then pass the link here and we’ll check it out. :hand: :link:

Best,
Mike
:alien: