Ask coding questions

← Back to all posts
Console isn't working properly
douglasAustin

Hey guys,
I'm currently studying JS and after practicing some exercises an error prompted up as you can see on the following image below. I've reloaded the page and even uploaded the same files but I'm still getting the error.

I appreciate your help

Voters
douglasAustin
Comments
hotnewtop
AmoghTheCool

@douglasAustin your main HTML file has to

  • not be in any folders
  • have the name index.html
douglasAustin

Hi @AmoghTheCool ,
Thank you so much for helping me, it worked.

douglasAustin

Hi @AmoghTheCool
I got one more question, please. Is it possible to have more than one HTML file within the same template running under different JS.files?

AmoghTheCool

@douglasAustin yes but not templates. The default pge is index.html

AmoghTheCool

@douglasAustin please mark this comment as correct