Build a Survey Form - Build a Survey Form

Tell us what’s happening:

pretty sure i did everything right any hints or help on why its not passing

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Survey Form</title>
  </head>

  <body>
    <h1 id="title">Title</h1>
    <p id="description">a short description</p>
    <form id="survey-form">
<label>Fill Out the required info</label>
<fieldset>
  <label id="name-label">Name
<input placeholder="your name here" id="name" type="text" required></input>
  </label>
  <label id="email-label">Email
<input placeholder="your email here" id="email" type="text" required></input>
  </label>
  <label id="number-label">Number
<input placeholder="your number here" id="number" type="text" min="10" max="100" required></input>
  </label>
</fieldset>

<label>Choose the Option that suits you.</label>
<select id="dropdown">
<option>Opp1</option>
<option>Opp2</option>
<option>Opp3</option>
</select>

<div>
  <label>Select which button suits you </label>
  <input type="radio" name="radio" value="1"></input>
  <input type="radio" name="radio" value="2"></input>
  <input type="radio" name="radio" value="3"></input>
</div>

<div>
  <label>Select which button suits you </label>
  <input type="checkbox" value="1"></input>
  <input type="checkbox" value="2"></input>
  <input type="checkbox" value="3"></input>
</div>

<textarea placeholder="comment here"></textarea>
<label>Press Submit when Ready</label>
<button id="submit" type="submit">Submit</button>


    </form>
  </body>
</html>

Your browser information:

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

Challenge Information:

Build a Survey Form - Build a Survey Form

You need to change the types here.

and here.

You want the first one to accept an email and the second a number.

1 Like

oohhhhhhmyy godd ur a legend , i totally over looked that i was looking for spacing erros or unclosed elements but that def was the key thank you so much . some times its better failing cause it forces u to really learn the code but was def getting fustrated

That’s why sometimes we need a diffferent eye to check our work, the frustration can be blinding.