From the course: Building a Website with Node.js and Express.js

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Creating a list page

Creating a list page

- [Instructor] So far, we've only have the index page template ready. Now it's time to implement some more pages. If we look at the static page, we see that there is a page that shows all speakers. We created a route for that already. When I click on a speaker, I get to their profile page. And when I look at this profile page, it contains a large image, just the artwork for this given speaker, and then some detailed information about this speaker. Such a pattern of list and detail pages is very common, and we need to find a way to let Express know which speaker it should show on the detail page. Such a pattern of list and detail pages is very common. We need to find a way to let Express know which speaker it should show on the detail page and this is where parameter routes come into place. Let's implement the speakers list template and this should by now look very familiar to you. And there, I look into my static folder…

Contents