The error I am receiving for this code is that each group of radio buttons must have at least two items. I set the name in all three of my radio buttons to be the same, but that does not seem to work. Any suggestions would help!
** code so far**
<!-- file: index.html -->
<!DOCTYPE html>
<html lang='en'>
<head>
<link rel="stylesheet" href="styles.css">
<title>Survey Form</title>
<meta charset='UTC8'>
</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> <!-- italizise -->
<form method='post' id='survey-form'>
<fieldset>
<label id='name-label'>Name<input type='text' id='name' name='name' placeholder='Enter your name' required/></label>
<label id='email-label'>Email<input type='email' id='email' name='email' placeholder='Enter your email' required/></label>
<label id='number-label'>Age (optional)<input type='number' id='number' name='age' placeholder='Age' min='13' max='120'/></label><!-- dont not accept non-numbers-->
<label>Which option best described your current role?
<select id='dropdown'>
<option>Select current role</option>
<option>Student</option>
<option>Full Time Job</option>
<option>Full Time Learner</option>
<option>Prefer not to say</option>
<option>Other</option>
</select>
</label> <!-- dropdown -->
<label>Would you recommend freeCodeCamp to a friend?</label>
<label>Definitely<input type='radio' name='yes' value='1' name='group1'/></label>
<label>Maybe<input type='radio' name='maybe' value='2' name='group1'/></label>
<label>Not Sure<input type='radio' name='notSure' value='3' name='group1'/></label>
</fieldset>
<fieldset>
<label>What is your favorite feature of freeCodeCamp?</label><!-- dropdown -->
<label>What would you like to see improved?</label><!-- checkbox -->
<label>Wiki<input type='checkbox' id='wiki' value='1'/></label>
<label>Forum<input type='checkbox' id='forum' value='2'/></label>
<label>Videos<input type='checkbox' id='videos' value='3'/></label>
</fieldset>
<fieldset>
<label>Any comments or suggestions?
<textarea placeholder='Enter your comments here...'></textarea></label>
</fieldset>
<input id='submit' type='submit' value='Submit'>
</form>
</body>
</html>
/* 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/111.0.0.0 Safari/537.36
Challenge: Survey Form - Build a Survey Form
Link to the challenge: