Tell us what’s happening:
Getting an error to group radio buttons. I have the name attribute matching but still can’t get it pass #38? Any suggestions.
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">Description</p>
<form id="survey-form" action="">
<label id="name-label">name</label>
<input required id="name" type="text" placeholder="name">
<input required id="email" type="email" placeholder="email">
<label id="email-label">email</label>
<input required id="number" type="number" min="3" max="42" placeholder='number'>
<label id="number-label">number</label>
<select id="dropdown">
<option value="2">A</option>
<option value="1">B</option>
<input type="radio" name="2" value="2">
<input type="radio" name="1" value="1">
</select>
<select id="dropdown">
<option value="3">C</option>
<option value="4">D</option>
</select>
<input type="radio" id="age1" name="age" value="30">
<label for="age1">0 - 30</label>
<input type="radio" id="age2" name="age" value="60">
<label for="age2">31 - 60</label>
<input type="radio" id="age3" name="age" value="90">
<label for="age3">90 - 100</label>
<input type="checkbox" id="color" value="color">
<input type="checkbox" id="color" value="color">
<textarea type="text" id="comments" name="comments">comments</textarea>
<button type="sumbit" id="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/143.0.0.0 Safari/537.36
Challenge Information:
Build a Survey Form - Build a Survey Form