Skip to content

User stories in Build a Travel Agency Page lab omit two tested requirements #68669

Closed

Description

@majestic-owl448

Describe the Issue

In the "Build a Travel Agency Page" lab, two behaviors are enforced by the tests but never stated in the user stories. A lab should state everything it tests.

  1. The tests require exactly one h1:

You should only have one h1 element.

But user story 5 only asks for an h1, without the uniqueness constraint:

You should have an h1 element to present your travel destinations.

  1. The tests require every figcaption to contain text:

Each figcaption should contain some text.

But user story 11 only asks that each figure contain a figcaption, with nothing about the caption being non-empty:

You should have at least three figure elements, each containing an anchor element and a figcaption element.

Affected Pages

https://www.freecodecamp.org/learn/responsive-web-design-v9/lab-travel-agency-page/build-a-travel-agency-page

Expected behavior

The user stories should account for both tested behaviors: that only one h1 is allowed, and that each figcaption must contain text. Either add these requirements to the user story list, or relax the tests so they match what the stories currently promise.

Activity

  1. added
    help wantedOpen for all. You do not need permission to work on these.
    scope: curriculumLessons, Challenges, Projects and other Curricular Content in curriculum directory.
    rwd v9 certThis is for issues dealing with the Responsive Web Design V9 Certification.
    on Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedOpen for all. You do not need permission to work on these.rwd v9 certThis is for issues dealing with the Responsive Web Design V9 Certification.scope: curriculumLessons, Challenges, Projects and other Curricular Content in curriculum directory.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions