Closed MarcKunst closed 5 years ago
Heya, good job 👍
server.js
file a bit by chaining the app calls:// before
app.use(express.static('static'))
app.get('/', (req, res) => res.send('Hello World!'))
app.get('/about', (req, res) => res.send('This is the about page'))
// after
app
.use(express.static('static'))
.get('/', (req, res) => res.send('Hello World!'))
.get('/about', (req, res) => res.send('This is the about page'))
static
and others rendered from EJSserver.js
file that prohibits your server from running
Listing
Name
Marc Kunst
Class
Tech 4
Repo link
https://github.com/MarcKunst/Project-Tech
Summary
Assignments / homework week 2 (Express, EJS)