Javascript tag error?


#1

i’m getting an orange triangle error callout with no other details in my scripts section. any ideas what this means? i recently tried to add javascript comments within the script but i’m not sure why this would throw the error. any ideas?

image


#2

Hey @sgro28

That usually indicates a syntax error, but we’d have to see the script itself to know what precisely is causing it. Were the comments the only thing that you added before seeing the error? Comment tags wouldn’t normally matter, but if they were formatted improperly, that very well might be what’s causing the issue.

You might also be able to check your live page’s error console (Ctrl + Shift + I), to see if it gives you any better indication of where the issue is. Usually, you can click on the error in the console and it’ll bring you to the exact line of code that’s throwing the error.

Hope that helps!