Business Card tests require unstated CSS selectors
Author: majestic-owl448Created Sep 29, 2026Updated Sep 30, 2026
Labelshelp wantedscope: curriculumlessonrwd v9 cert
Describe the Issue
Three user stories in the Design a Business Card lab describe page-wide CSS results without stating that campers must use the
body,p, andaselectors:- Your page background should be
rosybrown. The overall font should beArial, with a fallback ofsans-serif. - All of the
pelements should have a top and bottommarginof5px. - All links on the page should not be underlined.
The tests inspect CSS rules for those exact selectors. Equivalent rules such as
html,.business-card p, and.business-card aproduce the results described in the user stories but fail the tests.- Your page background should be
Affected Pages
https://www.freecodecamp.org/learn/responsive-web-design-v9/lab-business-card/design-a-business-card
Expected behavior
The user stories and tests should agree about whether specific CSS selectors are required. CSS that produces the stated page-wide styles should pass unless the user stories explicitly require the body, p, and a selectors.
Source: freeCodeCamp/freeCodeCamp