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">
    <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
    <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>
      <select id="drop-down">
      <option value="option 1" selected>option 1</option>
        <option value="option 2" selected>option 2</option>
      <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">

/* 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/ 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

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