Survey Form - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.
How do I get my dropdown to have two selectable option elements?
Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="eng">
  <head>
    <meta charset="UTF-8">
    <title>Survey Form</title>
    <link rel="stylesheet"href="styles.css">
    </head>
    <body>
      <h1 id="title"> freeCodeCamp Survey Form</h1>
      <p id="description">Thank you for taking the time to help us improve the platform</p>
 <form id="survey-form"> 
   <fieldset>
<label id="name-label">Name<input id="name"type="text" placeholder="Enter your name " required/></label>
  <label id="email-label">Email <input id="email" type="email" placeholder="Enter your Email" required/></label>
<label id="number-label">Age (optional)  <input id="number" type="number"min="10"max="90" placeholder= "Age" required/></label>
<select id="dropdown">
</form>
/* file: styles.css */

Your browser information:

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

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

mod edit: solution redacted

That is the solution above but for reference and better understanding visit: HTML select tag

<select>
<option>Text1 here</option>
<option>Text2 here</option>
</select>

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