Every radio button group

Tell us what’s happening:
Describe your issue in detail here.
Every radio button group should have at least 2 radio buttons stuck on the last one does it mean to but more radio buttons down or inside a select?

  **Your code so far**
/* file: index.html */
<!doctype html>

<title>Survey Form</title>
<meta charset="utf-8">
<link rel="stylesheet" href="styles.css"> 
<h1 id="title">Welcome</h1>
<p id="description">Please fill out this survey.</p>
<form id="survey-form"action="">
  <label id="name-label">Enter Your Name: 
  <input type="text" id="name" placeholder="full name" required/></label>
  <label id="email-label">Enter Your Email: 
  <input type="email" id="email" placeholder="email" required/></label>
  <label id="number-label">Enter Your Age: 
  <input type="number" id="number" min="13" max="100" placeholder="age" required/></label>
  <select id="dropdown">
    <option>Favorit Hobby</option>
    <option>Video Games</option>
    <input type="radio" id="name" value="sports" name="sports"/> A Sport Fan
       <input type="radio" id="name" value="nosports" name="nosports"/> Not a Sport Fan
       <input type="checkbox" value="hangout" />Arcades
       <input type="checkbox" value="hangout" />Clubs
      <button id="submit" value="Submit"></button>


/* 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/102.0.5005.63 Safari/537.36

Challenge: Build a Survey Form

Link to the challenge:

Radio buttons that share the same value for the name attribute are part of the same group. So you need to have two radio buttons that have the same value for the name attribute.

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