Survey Form - Build a Survey Form

It says that the only problem is that “Every radio button group should have at two radio buttons” but I cannot find an unaccompanied radio button.

Your code so far

<!-- file: index.html -->
<h1 id="title">Survey Form</h1>
<p id="description">Please describe to us how we could improve this sight!</p>
<form id="survey-form" class="survey-form">
  <label id="name-label">Name</label>
<input id="name" type="text" placeholder="Enter your name" required></input><br>
<label id="email-label" >Email</label>
<input id="email" type="email" placeholder="Enter your email" required>
</input><br>
<label id="number-label">Number</label>
<input id="number" type="number" min="13" max="120" placeholder="Number"></input><br>
<br><label id="select">Would you suggest this site?</label>
<select name="dropdown" id="dropdown">
<option value="pick one" type="radio">Pick one</option>
<option value" Yes" type="radio">Yes</option>
<option value="No" type="radio">No</option>
<option value="Maybe" type="radio">Maybe</option>
</select><br>
<br><label>What are some things that you like about this site? </label><br>
<input type="checkbox" value="Challenges">It being online</input>
<input type="checkbox" value="Projects">The help</input>
<input type="checkbox" value="Community">Community</input><br>
<br><label id="select2">On a scale of one to ten, ten being the best, how well do you like this site?</label><br>
<input id="one" type="radio" name="one" value="one">one</input>
<input id="two" type="radio" name="two" value="two">two</input>
<input id="three" type="radio" name="three" value="three">three</input>
<input id="four" type="radio" name="four" value="four">four</input>
<input id="five" type="radio" name="five" value="five">five</input>
<input id="six" type="radio" name="six" value="six">six</input>
<input id="seven" type="radio" name="seven" value="seven">seven</input>
<input id="eight" type="radio" name="eight" value="eight">eight</input>
<input id="nine" type="radio" name="nine" value="nine">nine</input>
<input id="ten" type="radio" name="ten" value="ten">ten</input><br>
<br><label id="comments">Tell us how we can make this site better! </label>
<textarea></textarea><br>
<br><input type="submit" id="submit">Submit</input>
</form>
<link rel="stylesheet" href="styles.css">
/* 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/120.0.0.0 Safari/537.36 Edg/120.0.0.0

Challenge Information:

Survey Form - Build a Survey Form

To create a radio button group, you must give all of the radio elements the same name attribute. This also means that only one button at a time (in each group) can be selected.

2 Likes

Thanks, I found where the issue is. :pray:

1 Like