The code I wrote for routing to the site was this. app.get("/trolled", function (request, response) { response.sendFile(__dirname + "/trolled/index.html"); });
It won’t implement the css and js and in the browser console it shows this.
It’s because your server isn’t serving those files. You need to move funnyhehe.css and script.js to the public folder and inside a folder called trolled.
public
trolled
script.js
funnyhehe.css
server.js
package.json
README.md
LICENSE.md
.env
.gitignore