Repository navigation
fix(curriculum): add missing tested requirements to travel agency lab - #68672
Merged
majestic-owl448 merged 3 commits intoJul 13, 2026
Merged
majestic-owl448 merged 3 commits into
majestic-owl448 merged 3 commits into
Conversation
Contributor
Author
|
Good catch, thanks. That line was restating the same requirement the hint below it already covers, so I applied your suggestion to point forward instead of duplicating it. Pushed. |
Contributor
Author
|
@majestic-owl448 good call, thanks. That user story is deduped now so it reads the way you suggested (the figure, anchor, and figcaption wording is consolidated onto the one line in 99bfd61). Happy to tweak the phrasing further if you would word it differently. |
…9e2f60e83c011754f711f9.md Signed-off-by: majestic-owl448 <[email protected]>
majestic-owl448
approved these changes
Jul 13, 2026
majestic-owl448
left a comment
Contributor
There was a problem hiding this comment.
Hi @TemRevil. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist:
mainbranch of freeCodeCamp.Closes #68669
The Build a Travel Agency Page lab enforces two behaviors in its hints that the user stories never state:
You should only have one h1 element— but story 5 only asks for anh1Each figcaption should contain some text— but story 11 only asks that eachfigurecontain afigcaptionThis updates the two user stories so every tested behavior is stated, reusing the hint wording:
h1element to present your travel destinations. It should be the onlyh1element on your page."figureelements, each containing an anchor element and afigcaptionelement. Eachfigcaptionshould contain some text."English curriculum file only (
curriculum/challenges/english/blocks/lab-travel-agency-page/669e2f60e83c011754f711f9.md); no hint/test logic changed, so the lab's behavior is identical — the instructions just stop under-specifying it.