Survey Form - Build a Survey Form

Hello Greeting to whom it may concern
i kinda need help here
what does this mean
" You should have a label element with an id of name-label ."?
i already have a label element with the id of name and the text in the lable element
what am i missing ?
please i need a comprehensive hint or solution so soon

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="styles.css">
  <h1 id="title">
  <P  id="description">
    Fill in Your Description
  <form id="survey-form" action="/action_page.php">
    <label for="name"> First Name: <input name="fame" type="text" id="name" required/></label>
    <label for="name">Email: <input type="email" id="email" required /></label>
    <label for="number">Age: <input type="number" id="number" name="Age" min="18" max="28" required/></label>
    <label>Name:<input id="name-label"></label>
    <label>email:<input id="email-label"></label>
    <label>number<input id="number-label"></label>

/* file: styles.css */
label{  display:block;
  **Your browser information:**

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

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

You don’t have any labels with id='name-label'

You only have input with such id, and that’s not what is needed here.

Hint is above.
Direct solutions are not provided on this forum

i don’t mean a direct solution…if you can help out please do so
check out the code and fish what am omitting
i can brainstorm i don’t mind
what should i watch out for

You mentioned solution, that’s why I mentioned it, just in case.

I told you where is the mistake.
Your labels should have some id-s.

If you have more questions, feel free to ask.

1 Like

thanks you are a life saver
hang around i might get stucked again lol

ok lol
Being stuck regularly is part of learning

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