Learn Accessibility by Building a Quiz - Step 6

Tell us what’s happening:

I tried so many ways of putting these 2 and i put these two in different ways. Could anyone help me?

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>
        <header>Navigation<header/>
    <main>Core<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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0

Challenge Information:

Learn Accessibility by Building a Quiz - Step 6

Take a look at your opening and closing tags <> </>,
Observe how your <html></html> and <body></body> tags look compared to your header and main.
Make sure the closing " / " in </> is in the right place.

3 Likes

it works thanks. I had a brain fart on this question :smile:

3 Likes