http://localhost:3004/
) that lists all sightings.<a>
) to link to its individual sighting page.data.json
...http://localhost:3004/sightings/0
) should contain a link that navigates back to the index page./
the "root path". Unlike Unix file paths, URL paths do not support .
, ..
, and ~
special characters, but they do recognise absolute and relative paths./apples
route. The path that does NOT begin with "/" will navigate to a "relative" URL path, whose prefix is the URL path on which this link is currently rendered.http://localhost:3004/years
with a list of links to "year pages". Each year page should contain a list of sightings from that year and a link back to the years
list page./years
Page/
with a query parameter sortBy
whose value is the name of the clicked sighting attribute. The following is an example.sortBy
attribute in ascending order. In the example above, when the user clicks on the link they will see the list of sightings ordered by year in ascending order.