#70470·freeCodeCamp

Business Card tests require unstated CSS selectors

Author: majestic-owl448Created Sep 29, 2026Updated Sep 30, 2026
Labelshelp wantedscope: curriculumlessonrwd v9 cert

Describe the Issue

  1. Three user stories in the Design a Business Card lab describe page-wide CSS results without stating that campers must use the body, p, and a selectors:

    1. Your page background should be rosybrown. The overall font should be Arial, with a fallback of sans-serif.
    2. All of the p elements should have a top and bottom margin of 5px.
    3. 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 a produce the results described in the user stories but fail the tests.

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