Build a Survey Form Project - Build a Survey Form

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

I’M STUCK AT RADIO BUTTON GROUP BEING DESCENDANTS OF #survey-form

Your code so far

/* file: index.Ext.html */


<!DOCTYPE html>
<html lang="en">
 <head>
   <link rel="styles.css">
 </head>
 <body>
  <main>
   <h1 id="title"> freeCodeCamp Survey Form </h1>
   <p id="description">Thank you for taking the time to help us improve the platform</p>
  </main>
  <section>
    <div>
     <form id="survey-form">
       <input id="name" placeholder="e.g Malekeith Bauer" required>
       <input id="email" type="email" placeholder="e.g username@email.com" required>
       <input id="number" type="number" min="7.2" max="12" placeholder="e.g +1 772 125" required>
       <label id="name-label">Full Name</label>
       <label id="email-label">Email-Address</label>
       <label id="number-label">Phone Number</label>
       <select id="dropdown">
        <option></option>
        <option></option>
       <div>
        <input type="radio" name="human" value="verify">
       </div>
       <div>
        <input type="radio" name="terms" value="accept">
       </div>
      </select>
      <button class="radio"><a href="#survey-form"></a></button> 
      <button class="radio"><a href="#survey-form"></a></button> 
     </form>
    </div>
  </section>
 </body>
</html>














    

/* file: styles.Ext.css */


<!DOCTYPE html>
<html lang="en">
 <head>
   <link rel="styles.css">
 </head>
 <body>
  <main>
   <h1 id="title"> freeCodeCamp Survey Form </h1>
   <p id="description">Thank you for taking the time to help us improve the platform</p>
  </main>
  <section>
    <div>
     <form id="survey-form">
       <input id="name" placeholder="e.g Malekeith Bauer" required>
       <input id="email" type="email" placeholder="e.g username@email.com" required>
       <input id="number" type="number" min="7.2" max="12" placeholder="e.g +1 772 125" required>
       <label id="name-label">Full Name</label>
       <label id="email-label">Email-Address</label>
       <label id="number-label">Phone Number</label>
       <select id="dropdown">
        <option></option>
        <option></option>
       <div>
        <input type="radio" name="human" value="verify">
       </div>
       <div>
        <input type="radio" name="terms" value="accept">
       </div>
      </select>
      <button class="radio"><a href="#survey-form"></a></button> 
      <button class="radio"><a href="#survey-form"></a></button> 
     </form>
    </div>
  </section>
 </body>
</html>










    

Your mobile information:

Infinix X680 - Android 10 - Android SDK 29

Challenge: Build a Survey Form Project - Build a Survey Form

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

can you be more specific? what’s happening?

Try moving the closing tag of the /select element after the second option></option.

If you place it after the /div> it causes the ‘div’ elements, and radio buttons to be outside of the form.
Try it. Happy coding.

1 Like

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