Learn Accessibility by Building a Quiz - Step 6

Tell us what’s happening:

i did add a header element but it says that I have to add a header element.

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="freeCodeCamp Accessibility Quiz practice project" />
    <title>Accessibility Quiz</title>
    <link rel="stylesheet" href="styles.css" />
  </head>

<!-- User Editable Region -->

  <body>
    <main>
    <header>
    
    <main>
  </body>

<!-- User Editable Region -->

</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 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.140

Challenge Information:

Learn Accessibility by Building a Quiz - Step 6

Hi Shadow! Make sure to add closing tags to elements (unless they are self-closing).

<example> </example>

Also, identify the order the instructions want you to place an element(s). If it wants an element within another element it may say something like: “nest header inside main.” If it doesn’t, try to keep the elements outside of each other. Happy coding!

hello @shadow!the things you forget is to nest header element & main element. as i see your code, inside of your body tag you didn’t close the main element, & your header.so now look at this example for more understanding

<html>
<head></head>
<body></body>
</html>
then as you see the above code simply add it the following elements inside of  your body tag .
 <header></header>
<main></main>

keep it up coding!