Im having problem understanding this two errors Failed:Your #name should require input Failed:Every radio button group should have at least 2 radio buttons

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
  <title>another survey</title>
  <link  rel="stylesheet" type="text/css" href="styles.css" />
  <h1 id="title"> This is suvey form 2.0</h1>
  <p id="description">You need to fill this survey</p>
  <form id="survey-form">
   <label id="name-label">Name <input type="text"  placeholder="Put your name" id="name"/></label>
<label id="email-label" placeholder="Email">Email <input placeholder="" type="email" required id="email" />
<label>Password <input type="password" placeholder="****" pattern="[a-z0-5]{8,}"  required /> </label>
<label id="number-label"> Whats your age? <input type="number" placeholder="Age" min="15" max="75" id="number" /> </label>
  <form name="options">
    <label>This is an option chooser</laber>
    <select id="dropdown">
      <option>Chooose an option</option>
      <option>Option 1</option>
      <option>Option 2 </option>
      <option>Option 3</option>
  <form id="survey-form">
    <label>This is the start <input type="radio" name="start" value="0.1"/></label>

    <label> This is the end <input type="radio" name="end" value="0.2"/></label>
<form id="survey-form">
    <label>This is a middle start <input type="checkbox" value="1"/>
    <label>This is a middle end <input type="checkbox" value="2"/>



/* file: styles.css */

  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36

Challenge: Build a Survey Form

Link to the challenge:

1: Here you must write required at the end of <input />:

2: Change the name attribute so 2 buttons have the same name and the other 2 buttons have the same name but are different from the first two buttons name:

1 Like

thx man that was a really silly mistake lol

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