I am trying to add custom javascript into my website for a widget on wordpress using the wpcode plugin but I keep getting an unexpected token error. There is a already created that isn't accessible in the text box where you add the code. Here is the line of javascript:
<script src="https://apis.owenscorning.com/client/widget.js" async></script>
I've tried deleting the opening and leaving the "src=" in hopes of it accepting the script that is inaccessible but the unexpected token error doesn't go away.
Here is the line of javascript:- that's HTML - anyway, there is no error when loading that script - what makes you think that script is the source of the error? Did you put that HTML in the middle of javascript?