script.js to html link - node.js

I want that code in script.js to work but its not. Am I linking it wrong?

You are viewing a single comment. View All

@somecodingguy The other way is for big projects basically, where you have multiple static files. In this case, refer to this documentation. Also could you set the previous comment above as the answer?