You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the script seems NOT to work! - i have no console output and/or background color changed. What's odd when I use the js code as an inline code like:
Hi, @Mulligan81 !
For you resolve this problem, you can move the your project files(specifically the "hello.js") from "src" folder to "public" folder. You can move or copy !
Good Lucky !
I'd like to include & run some
js
file in theReact
usingHelmet
component. Here is the simple code:index.js:
and ultra simple
js
script to include & run:hello.js:
But the script seems NOT to work! - i have no console output and/or background color changed. What's odd when I use the
js
code as an inline code like:it works!
Why doesn't the external
js
file work?The text was updated successfully, but these errors were encountered: