Survey Form - Build a Survey Form

I’m stuck at:
“Every radio button group should have at least 2 radio buttons.”

I have one but I can not figure out how to add a second one.

Your code so far

<!-- file: index.html -->
<!DOCTYPE HTML><html lang="en"></html>
  <meta charset="UTF-8">
  <title>Survey Form</title>
  <link rel="stylesheet" href="styles.css">
    <h1 id="title">HS-C Dining Hall</h1>
    <p id="description">Thank you for taking our survey.</p>
    <form id="survey-form">
    <label id="name-label" for="name">Name:<input id="name" placeholder="John Smith" required type="text"></label>
    <label id="email-label" for="email">Email:<input type="email" placeholder="" required id="email"></label>
    <label id="number-label" for="number">Phone Number:<input id="number" min="10" max="10" type="number" placeholder="123-456-7890"></label>
    <label for="dropdown">Where do you eat the most<select id="dropdown">
      <option value="">select one</option>
      <option value="1">Dining Hall</option>
      <option value="2">Tiger Inn</option>
    <input type="radio" name="Are you a student?" value="student"</input>
    <input type="radio" name="Are you faculty/staff?" value="faculty/staff"</input> 

/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 16_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Mobile/15E148 Safari/604.1

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

each group of radio buttons should have the same value for the name attribute

in your case, the values are different

once I fixed that, the test passes for me

Also, as a sidenote, inputs do not have closing tags.
You need to remove these

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.