Survey Form - Select id dropdown issue - SOLVED

Hello everyone,
I need someone’s help. I’m already desperate.
I am unable to do one task :
“Inside the form element, you should have a select dropdown element with an id of dropdown.”
I rewrited code several times but that didn’t work then I copied someone else’s code and that didn’t work either.
I hope you can help me.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">
  <title>Registration ...</title>
  <meta charset="utf-8">
  <link rel="stylesheet" href="styles.css">

  <h1 id="title">Registration ...</h1>
  <p id="description">...</p>
  <form id="survey-form">
    <fieldset id="dropdown">
      <label id="name-label">Name<input type="text" name="name" required id="name" placeholder="Enter your name"></label>
      <label id="email-label">Email<input type="email" name="email" required id="email" placeholder="Enter your email"></label>
<label id="number-label">Age<input type="number" name="age" id="number" min="1" max="100" placeholder="Enter your age"></label>

<label id="dropdown" name="dropdown" class="dropdown">. . .
<select id="dropdown" name="dropdown">
  <option value=""></option>
  <option value="1">1</option>
  <option value="2">2</option>

<label> <input type="radio" name="1-2" value="1"></label>
<label> <input type="radio" name="1-2" value="2"></label>
<label><input type="checkbox" value=" "></label>
<label><input type="checkbox" value=" "></label>
<label><input type="checkbox" value=" "></label>
<label><input type="checkbox" value=" "></label>
<textarea rows="1" cols="20"></textarea>

<input type="submit" name="submit" id="submit">


  **Your browser information:**

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

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

drop downs by w3
hope it helps

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