Chapter quiz · Routing Deep Dive

Test what you learned.

8 questions on Routing Deep Dive. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

Routing Deep Dive — Chapter Quiz

Eight questions on Router, nested routes, async, regex, 404.

0/ 8
  1. Question 1
    1

    Why use express.Router()?

  2. Question 2
    2

    What does Express 5 do that Express 4 didn't?

  3. Question 3
    3

    Routes are matched in declaration order. First match wins.

  4. Question 4
    4

    What does Router({ mergeParams: true }) do?

  5. Question 5
    5

    Why use app.param(name, fn)?

  6. Question 6
    6

    A 404 catch-all should be mounted AFTER all routes but BEFORE the ___ middleware.

  7. Question 7
    7

    What's a route handler's signature?

  8. Question 8
    8

    app.route(path).get(...).post(...) is sugar for…?

Pick an answer — instant feedback as you go.