Build a Survey Form - Build a Survey Form

Tell us what’s happening:

My work has several issues, but I cannot move forward. I will appreciate any suggestion in the right direction.

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Survey Form</title>
  </head>
  <h1 id="title"> Survey Form </h1>
  <p id= "description"> This survey will collect the experiences of freeCodeCamp graduates</p>
  <form id="survey-form" 
<fieldset>  
<label id="name">name<input id="name"id="name-label">enter name
   <placeholder="enter name"> required</label>  
 <label id"email">email<input id="email"id="email-label">enter email <placeholder="enter email"> required</label>
<label id="number">age<input id="number"id="number-label"<select id= "dropdown" 
    min="10"
    max="99">enter age<placeholder="enter age"> optional  
</label> 
</fieldset>
<fieldset>  
 
    
        
  
  <input type="radio" name="Major"> Major
  <input type="radio" name="Minor">
  Minor
  
    <input type="checkbox" value="fail">Fail
  <input type="checkbox" value="pass">Pass
  <textarea id="summary
  rows="10"Cols="200">
  </textarea>
  <button id="submit">submit
    

  </form>

  <body></body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0

Challenge Information:

Build a Survey Form - Build a Survey Form

In situations like these, it is best to just focus on one failing test at a time.

It looks like your first failing test is this one

You should have an input element with an id of name.

It looks like you don’t have correct html in certain places. So I would suggest going through each element and making sure that you have correct opening tag syntax `` and closing tags </element> . remember that inputs are void elements and don’t have closing tags

hope that helps

1 Like

Also, it looks like your body tags are all the way at the bottom.

I would suggest reviewing the html boilerplate lesson again for the correct structure

1 Like