How do I make multiple pages in node

Hello, I’m trying to make a Christmas website in node.js this time, I’m wondering how I make links go to multiple pages in hbs. Here is my file path bellow

Hi! You can just make an HTML link, I think. Or if that doesn’t work, probabily you can make the directory static (or serve the page in your node code)

I tried but that doesn’t work as it always says “page not found”. Could you send a code sample?

You can add an express route.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.