A photo of Phil Hawksworth's face
Phil Hawksworth @philhawksworth replying to this from @BrettStark
@BrettStark @freeCodeCamp Hi Brett!

Note that the src path to the js is “/js/vibe.js”. Since that’s root relative, a browser will not find it if the index file is just opened from the file system. (It would if the path was “./js/vibe.js”)

But “npm start” will serve it all up for you with a local server.

My tweets and posts live here on my own domain these days.
You can explore them here and follow me on Mastodon instead of Twitter where I'm not currently active.