Learn Accessibility by Building a Quiz - Step 4

The system says, " You should give the meta a name attribute of description ." I don’t understand that. Please explain.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description=content">      <! THIS LINE IS THE PROBLEM-->
    <link rel="stylesheet" href="styles.css" />
  </head>
  <body>

  </body>
</html>

/* file: styles.css */
body {
  background: #f5f6f7;
  color: #1b1b32;
  font-family: Helvetica;
  margin: 0;
}

Your browser information:

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

Challenge: Learn Accessibility by Building a Quiz - Step 4

Link to the challenge:

they want you to set the name attribute to “description” not “description=content”

The instruction: " Add a meta element with the name attribute set to description , and give it a useful content attribute."

<meta name="smth" content="text">  This is just guidance!

‘name’ and ‘content’ are attributes, “description” is a value of the ‘name’ attribute, and “text” is a value of the ‘content’ attribute (could be a kind of description for the page).

1 Like

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

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