freeCodeCamp / curriculum

The freeCodeCamp curriculum and lesson editor
Creative Commons Attribution Share Alike 4.0 International
81 stars 124 forks source link

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

Closed psyperl closed 6 years ago

psyperl commented 6 years ago

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):

Additional context

None

gareth-d85 commented 6 years ago

I have the Same issue, and I cant get it too pass. running firefox on Linux.

Nirajn2311 commented 6 years ago

I’ll work on it.

raisedadead commented 5 years ago

:tada: This issue has been resolved in version 3.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: