Survey Form - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <link rel="stylesheet" href="style.css">
  <h1 id="title">Travel Survey Form</h1>
<head>
<body>
<p id="description">Thank you for participating in the Oregon Travel Survey</p>
<form id="survey-form">
  <fieldset>
    <label id="name-label"> Full Name: <input id="name" type="text" placeholder="Full Name" required></input> Email Address: </label>
    <label id="email-label"> Email Address: <input id="email" type="email" placeholder="Email" required></input> </label>
    <label id="number-label"> Age: <input id="number" type="number" min="1" max="120" placeholder="Age" required></input> </label>
  </fieldset>
  <fieldset>
    <select id="dropdown">
      <option>Select an option</option>
      <option>Public Transportation</option>
      <option>Personal Automobile</option>
      <option>Bike</option>
      <option>Walking</option>
    </select>
  </fieldset>
  <fieldset>
      <label id="Gender">Gender</label>
      <label id="m-sex"> <input type="radio" id="m-sex" name="sex" value="male" > </input>Male </label>
      <label id="f-sex"> <input type="radio" id="f-sex" name="sex" value="female">Female </input>
      <label id="0-sex"> <input type="radio" id="o-sex" name="sex" value="other">Other</label>
  </fieldset>
  <fieldset>
      <label id="improvements"> What improvements would you like to see? (select at least 1)
      <label id="roads"> <input type="checkbox" id="im-1" name="im-1" value="im-1">Resurfacing the roads</label>
      <label id="signs"> <input type="checkbox" id="im-2" name="im-2" value="im-2">Replacing worn down signs</label>
      <label id="lights"> <input type="checkbox" id="im-3" name="im-3" value="im-3">Replacing broken traffic lights</label>
  </fieldset>
  <fieldset>
    <label id="comments">Any comments or suggestions?</label>
    <textarea id="form-review" name="form-review" placeholder="Enter your comments here"></textarea>
  </fieldset>
  <input type="submit" id="submit"></input>
</form>
</body>
</html>
/* file: styles.css */
body {
background-color: green;
}
  **Your browser information:**

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

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

Do you have a question? I don’t know why you posted this.

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