Tell us what’s happening:
I cant figure out what mistake I made please help me solve it… It seems to be in creating radio button. It shows-“Every radio button group should have at least 2 radio buttons.” please help me to solve it
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<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">
<label id="name-label">Name
<input id="name" type="text" required placeholder="Enter your Name" />
</label>
<label id="email-label">
Email
<input id="email" type="email" required/ placeholder="Enter your Email">
</label>
<label id="number-label">
Age(optional)
<input id="number" type="number" min="1" max="120" placeholder="Enter your Age"/></label>
<select id="dropdown">
<option>Select your role</option>
<option>student</option>
<option>Full Time Job</option>
<option>Full Time Lancer</option>
<option>Prefer not to say</option>
<option>other</option>
</select>
<label><input type="radio" value="Definitely" name="Definitely"/> Definitely<label>
<label><input type="radio"value="Maybe"/ name="Maybe"> Maybe</label>
<label><input type="radio" value="Notsure" name="Notsure"/> Notsure<label>
<input type="checkbox" value="frontend" >
<input type="checkbox" value="back-end" >
<input type="checkbox" value="videos" >
<textarea>
</textarea>
<input id="submit" type="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/123.0.0.0 Safari/537.36
Challenge Information:
Survey Form - Build a Survey Form