Survey Form - Build a Survey Form

Tell us what’s happening:
kindly help me to add radio buttons

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>

<html Lang="en">
<head>
  <title>freeCodeCampSurveyForm</title>
  <meta charset="UTF-8">
</head>

<body>
  <h1 id="title">freeCodeCamp Survey Form</h1>
  <p id="description">Thank you for taking the time to help us improve the platform</p>
  <form id="survey-form">
    <label id="name-label"><input type="text" id="name" required placeholder="Enter your name">/></label>
   <label id="email-label"><input id="email" type="email" required placeholder="Enter your Email" >/></label>
   <label id="number-label"><input id="number" type="number" min="10" max="99" placeholder="Age">/></label>
   <select id="dropdown">
     <option>
       <input type="radio" value="dropdown" name="Definitely"> />
       </option>
     <option>
       <input type="radio" value="dropdown" name="maybe">/>
       <button type="submit">Submit></button>
       <button type="submit">Submit></button>
     </option>
   </select>
  </form>
</body>
/* 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/115.0.0.0 Safari/537.36

Challenge: Survey Form - Build a Survey Form

Link to the challenge:

Radio buttons don’t go inside of selects.

I would suggest you revisit the Registration Form course to see how you added them there. You can just go to the last step and then look at the HTML.

1 Like

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