Unable to pass the test case

I wasn’t able to pass this test case
You should have a select field with an id of dropdown .

I have a select selector with dropdown id as shown in the photo above

please post all your code

<!DOCTYPE html>
  <link rel="stylesheet" href="styles.css">
  <h1 id="title">Simple Survey</h1>
  <p id="description">Please take 5 minutes to answer the questionnaire</p>
  <form id="survey-form">
    <label id="name-label">Name</label>
    <input id="name" type="text" placeholder="John Smith" required />
    <label id="email-label">Email</label>
    <input id="email" type="email" placeholder="johnsmith@gmail.com" required />
    <label id="number-label">Age</label>
    <input id="number" type="number" placeholder="20" min="1" max="120"/>
    <input type="radio" id="dropdown" name="gender" value="male">
    <input type="radio" id="dropdown" name="gender" value="female">
    <input type="radio" id="dropdown" name="gender" value="unknown">
    <label>Prefer not to say</label>
    <p>Current role</p>
    <select id="dropdown">
      <option value="select">Select</option>
      <option value="student">Student</option>
      <option value="fresh-graduate">Fresh Graduate</option>
      <option value="software-developer">Software Developer</option>
      <option value="others">Others</option>
      <option value="unemployed">Unemployed</option>
    <p>Reasons to learn programming</p>
    <label><input type="checkbox" value="become">To become a software developer</label>
    <label><input type="checkbox" value="explore">To explore more about the field</label>
    <label><input type="checkbox" value="interest">Interested in programming</label>
    <label><input type="checkbox" value="fun">For fun</label>
    <button id="submit">Submit</button>


Also the link of the challenge is really useful when you ask for help!

not header, this is the head element

you have multiple elements with id of dropdown, ids should be unique in the page

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