Survey Form Project

Step 42, 43 dont pass the test.
I have tried with bot options, input and button and non of those passes the test. This is the only stop that doesn’t pass.

type or paste code here
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="styles.css" />
  </head>
  <body>
   <h1 id="title">Survey Form</h1>
   <p id="description">Fill the required information</p>
   <form id="survey-form">
    <label id="name-label"for="name">
     Enter your name. <input id="name" type="text" placeholder="Enter your name." required>  
    </label>
    <label id="email-label" for="email">
     Enter your email. <input id="email" type="email" placeholder="Enter your email." required>
    </label> 
    <label id="number-label" for="number"> 
     Enter your age. <input id="number" type="number" placeholder="Select your age." min="10" max="15">  
    </label>   
    <label id="dropdwon" for="dropdown"> Select one option
       <select id="dropdown">
        <option value="">(select one)</option>
        <option value="1">Option 1</option>
        <option value="2">Option 2</option>
      </select>
    <label for="">Select one option.
      <input type="radio" value="1" name="group1">Opt1
      <input type="radio" value="2" name="group1">Opt2
      <input type="radio" value="3" name="group1">Opt3
    </label>
    <label for="">Select one option.
      <input value="1" name="1" type="checkbox"></input>
      <input value="2" name="2" type="checkbox"></input>
    </label>
    <label>
      <textarea id="submit">
      </textarea>
    </label>
  
    <input id="submit" type="submit" value="Submit"></input>
  
  </form>
  </body>  

I just found the solution. You cannot duplicate the ID’s. I had the same ID on to different lines, before the input button, that’s why the error. I just changed the Textarea ID, and kept the ID on the Input Button, and then it passed.

1 Like