I'm currently running a nodejs server and have implemented a login, signup, and menu feature on my website. Here is what my login UI looks like: https://i.sstatic.net/eg57R.png
As for my signup page, it appears as follows:
https://i.sstatic.net/qToQl.png
This snippet shows part of the code I am using:
const app = express();
app.use(express.static(path.join(__dirname + '/views')));
app.get('/', checkAuthenticated, (req, res) => {
res.render('index');
});
app.get('/users/signup', checkAuthenticated, (req, res) => {
res.render('signup');
});
I'm facing an issue where the CSS does not load properly for the signup page, but it works fine for the login page. Any ideas why this might be happening?