Survey Form question2

I still have

  • Every radio button group should have at least 2 radio buttons.

  • Failed:You should have at least two input elements with a type of checkbox (checkboxes) that are descendants of #survey-form

on failed, how do I get them ok and good to proceed to the next one?

   **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<h1 id="title">Survey form</h1>
 <p id="description">description</p>
<form id="survey-form">
 <label id="name-label">
   <input id="name" type="text" required placeholder="name"/>
   <label id="email-label">
 <input id="email" type="email" required placeholder="Email"/>
 <label id="number-label">
 <input id="number" type="number" min="10" max="99" placeholder="123"/>
<form name="#survey-form">

<select id="dropdown"/>
<option value="student">
 <option value="collega">
   <option value="pro">
 <input type="radio" value="surely not" name="first choice">
 <input type="radio" value="fool" name="second choice">
<input type=checkbox value="option1">
<label input="test1" >
   <button type="submit" id="submit" />

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

Challenge: Build a Survey Form

Link to the challenge:

  1. A radio button group is two or more input elements with the same name attribute value.

  2. You only have one input element with the type set to checkbox, you need at least two.

  3. The form elements (inputs, labels, submit button) should all be inside the form element.

Thanks for all the replys but I was a bit demotivated by this to continue and kinda gave up. Maybe I’ll return later but I feel I need lessons with a physical teacher to understand it better.

1 Like

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