Skip to content
Open navbar menu
Sign UpLog In
DTSMicah

DTSMicah

@DTSMicah
  • 3d runner game :)

    Cover page
    Made with HTML, CSS, JS

    Use arrows to move around. This took quite a while to make :)

    Recent comments (2)
    atariguy1231
    atariguy1231
    2 months ago

    kool game

DTSMicah
DTSMicah
published a Repl
2 years ago
2
3d runner game :)
3d runner game :)Use arrows to move around. This took quite a while to make :)
atariguy1231
atariguy1231
kool game 2 months ago
DTSMicah
DTSMicah
shared a Post
2 years ago
How do you put CSS in Node.js?
I was trying to learn Node.js. However, I cannot get any CSS to work in separate HTML files, with , and can't get JavaScript in it either. Any help, p
learningNode
Node.js
SixBeeps
SixBeeps
Take a peek at line 7, app.use(express.static('public')); This line marks a folder named public as a static folder. You can only GET something from a server if there's a routing for it (like using app.get in your server code) or if it's marked as static. So, if you want to GET some content, in your case some CSS and JS files, you'll have to make a new folder with those files in it and mark that folder as static. Since you've already marked public as static, I'd recommend just naming the folder2 years ago