Responsive Web Design Projects - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.
i don’t understand why this " Your #dropdown should have at least two selectable (not disabled) option elements." step i didn’t pass. pl help!
Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="device-width, initial-scale=1.0">
    <link rel="stylesheet" href="styles.css">
    <h1 id="title">HI</h1>
    <p id="description">Build a Survey Form
    </p>
    <form id="survey-form"  name="" value=""  button="submit">
      <label id="name-label"><input type="text" id="name" name="name" placeholder="Type your name here" required></input>Name</h2>
      <label id="email-label"><input type="email" id="email" name="email" placeholder="Type your email here" required></input>Email</h3>
      <label id="number-label">Number<input type="number" id="number" name="number" placeholder="Type your Number here" required min="10" max="100"></input></h4>
      </form>
      <select id="drop-down">
      <option value="option 1" selected>option 1</option>
        <option value="option 2" selected>option 2</option>
        </select>
      <textarea placeholder="Enter Your Comments Here!..."></textarea>
      <input id="name" type="text" id="number"></input>
      <input id="submit" type="submit"></input>
      <select id="dropdown"></select>
      <input type="checkbox" value="HI">HI</input>
      <input type="checkbox" value="HI1">HI1</input>
      <input type="radio" value="1" name="1">
      <input type="radio" value="2" name="1">
    </form>

/* file: styles.css */
#number {max-length: 10;
min-length: 1;}

Your browser information:

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

Challenge: Responsive Web Design Projects - Build a Survey Form

Link to the challenge:

Try removing the selected attribute from them.

Actually, also, you missed something important

Inside the form element

Your drop-down is not in the form.

1 Like

fixed it and passed. Thanks alot <3

1 Like