Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

"Responsive Web Design Principles: Create a Media Query" test is not forgiving. #271

@psyperl

Description

@psyperl

Describe the bug

"Responsive Web Design Principles: Create a Media Query" test is not forgiving.

To Reproduce

Link of challenge: https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-principles/create-a-media-query/

the test wouldn't pass with

  @media ( max-height: 800px ) {
    p {
      font-size: 10px;
    }
  }

it would only pass

  @media (max-height: 800px) {
    p {
      font-size: 10px;
    }
  }

difference is an extra spaces inside the parenthesis.

Expected behavior

should pass for both of the code

Screenshots

screen shot 2018-08-24 at 22 38 24

Desktop (please complete the following information):

  • Browser Name: Safari
  • Browser Version: Version 11.1.2 (13605.3.8)
  • Operating System: macOS High Sierra Version 10.13.6

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedOpen for everyone. You do not need permission to work on these. May need familiarity with codebase.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions