Learn Accessibility by Building a Quiz - Step 6

The feedback message says " You should add a main element to the body " what i think i already did.

Can someone tell me what am i not paying attention :cry:

<!-- 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="freeCodeCamp Accessibility Quiz practice project" />
    <title>Accessibility Quiz</title>
    <link rel="stylesheet" href="styles.css" />
  </head>
  <body>
    <header><header/>
    <main><main/>
  </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/107.0.0.0 Safari/537.36

Challenge: Learn Accessibility by Building a Quiz - Step 6

Link to the challenge:

Does the forward slash come at the beginning or end of the closing tag? Also, you weren’t asked to add a header element so I would get rid of that completely.

1 Like

:joy: :joy: :joy: Thnx!! Yes, i was asked to add the header. Thanks a lot, i was being so blind :cry:

Ahh, sorry, I didn’t read the instructions closely enough.