Put in order · JavaScript and React course · Module 6: React Router

URL Structure

Arrange URL components in the order they appear in an address:

Items to put in order

  • state (hidden in the location object)
  • search (?sort=price)
  • hash (#section)
  • pathname (/products)

You can check the correct answer by solving this task in the CodeWorlds game.