Learn CSS Colors by Building a Set of Colored Markers - Step 5

Tell us what’s happening:
This step’s instructions are misleading. They read, “You should add a new meta element for each attribute you want to specify.” However, the code I wrote does not work because it’s telling me that I should only have two meta elements despite the fact that there are three unique attributes that I am trying to specify. Unless I am misreading something, it seems to me like it should want me to make three different meta elements, one for each of the three attributes.

Your code so far

<!DOCTYPE html>
<html lang="en">

<!-- User Editable Region -->

  <head>
    <meta charset="utf-8">
    <meta name='viewport'>
    <meta content='width=device-width, initial-scale=1.0'>
    <title>Colored Markers</title>
  </head>

<!-- User Editable Region -->

  <body>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36 Edg/111.0.1661.54

Challenge: Learn CSS Colors by Building a Set of Colored Markers - Step 5

Link to the challenge:

Welcome to our community!

The instruction: " Add another self-closing meta element within the head . Give it a name attribute set to viewport and a content attribute set to width=device-width, initial-scale=1.0"

You have added two meta elements containing one attribute each, instead of one meta element with two attributes.

1 Like

I agree - the wording on this is a bit awkward. Created an issue to track it: Clunky wording in CSS Markers step 5 · Issue #49998 · freeCodeCamp/freeCodeCamp · GitHub

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.