I need advise on the id for Survey form test

can anyone tell me what I did do wrong? the question says" 1. You should have an h1 element with an id of title."
Here’s how i code it:

  <head>
    <meta charset="UTF-8">
    <title id="PFC_Survey">
      <h1 id="titleS">Survey for PFC</h1>
      </title>
    <link rel="stylesheet" href="styles.css" />
</head>

I know i sound stupid but your help it greatly appreciated

Hi there and welcome to our community!

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

In terms of the issue you’re facing, your h1 element has a typo in the id attribute:

1 Like


Here is how it look on my end. Thank you for your response im new here

Hi there. Remove that h1 element. It’s aren’t goes within the head element.
You have a h1 element after the body opening tag. Give it the id value title, not titleS

1 Like

Screenshots aren’t helpul. It’s better to post your code here using three back ticks (```) on a separate line before and after your code to preform it here in your reply.

1 Like

Thank you for the advise, ill take note of that im new here