New:Embedded & IoT Bootcamp
Express

Templating & Views

4 tutorials organised into focused series and standalone lessons.

0 series 4 standalone lessons Back to Express

Templating & Views tutorials

Read in order or jump to the topic you need.

Tutorial2026-06-13

Using EJS, Pug, or Handlebars

Set up and use template engines in Express - EJS, Pug, and Handlebars compared with examples

Web Development / Backend / Express / Templating & Views

ExpressTemplating
Tutorial2026-06-13

Layouts & Partials

Create reusable layouts and partial templates in EJS, Pug, and Handlebars to keep your views DRY

Web Development / Backend / Express / Templating & Views

ExpressEJS
Tutorial2026-06-13

Rendering Dynamic Content

Render dynamic HTML in Express using template engines - conditionals, loops, helpers, and more

Web Development / Backend / Express / Templating & Views

ExpressDynamic Content
Tutorial2026-06-13

Passing Data from Routes to Views

Pass data from Express route handlers to templates using res.render, res.locals, and app.locals

Web Development / Backend / Express / Templating & Views

ExpressData Passing