freeCodeCamp: "/" incorrectly required before ">", RWD Beta

Affected page

https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-basic-css-by-building-a-cafe-menu/step-17

Your code

<meta charset="utf-8" /> 
*note the extra space and the slash shouldn't be there*

solution also requires an extra slash near the end:
<link rel="stylesheet" type="text/css" href="styles.css"/>
*note that the forward slash is required to pass the challenge*




Expected behavior

A) Expected not to see a space and forward slash before the closing less than sign of the meta element.

B)Expected to clear the stage without having to insert a forward slash.

Screenshots

System

  • Device: LG G6 and Samsung Tablet
  • OS: Android 9
  • Browser: Firefox Nightly
  • Version: 97

Additional context

See the forum for a screenshot and Roma’s solution:

https://forum.freecodecamp.org/t/rwd-beta-colored-markers-need-help-or-to-verify-bug/490422/11

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 17 (15 by maintainers)

Most upvoted comments

Thanks for explaining, it’s an interesting idea. Would be interested in creating a PR so we can test this out?

Yeah! I’ll get a PR out this weekend

Okay, I can start working on making these regex tests better. Though, I think, if there’s a way we can do it through DOM queries, we should definitely do that, because they’re going to be more reliable and easier to maintain