In my terminal I am running $node index.js where i have a directory called public that has a index.html and style.css.my index.js file:var express = require('express'); var path = require("path"); var app = express(); app.use(express.static("public")); app.listen(3000); my index.html file:
No comments:
Post a Comment