Exercise 1: Site-Wide Dark Theme — Possible Solution
====================================================================
// server.js
app.use(express.static('public'));
/* public/css/global.css */
body {
background: #0f1117;
color: #c9d1d9;
font-family: system-ui, sans-serif;
margin: 0;
}
<%= page.title %>
CONFIRMATION
------------------------------
Since every page renders through header.ejs, and header.ejs links
global.css once, every route - not just one - serves the dark
background and text color, with no per-page link needed anywhere else.
WHY THIS WORKS AS AN ANSWER
------------------------------
It correctly serves the public folder via express.static(), correctly
links the stylesheet once in the shared header partial, and correctly
confirms the dark theme applies across every route as a result.