Responsive Web Design (Beta) : Learn CSS Flexbox by Building a Photo Gallery > Step 20 issue

Please refer to screenshot, I’m not getting why is this complaining ?

[https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-css-flexbox-by-building-a-photo-gallery/step-20](RWD Beta step-20 )

Rather then a screenshot I’d like to see a link to the challenge so that I can see the rest of the code as well.

You can not have space in an HTML/CSS id name. that is what most likely makes you fail the test.

It didn’t ask for screen and in the media query. I haven’t checked but the test is most likely using a regex.

@lowlevelcarrot The space is a descendant combinator (img elements inside #gallery)

Sorry for delayed response, you’re right about the problem.

I’ve filed a ticket Responsive Web Design (Beta) : Learn CSS Flexbox by Building a Photo Gallery > Step 20 issue · Issue #45515 · freeCodeCamp/freeCodeCamp · GitHub, as error message is confusing; either error message needs to be fixed as I’ve got (max-width: 800px) in the solution or accept the solution.

Thanks,
Vikram