How to set the option become selectable

I’m trying to figure out how to set the option become selectable.
I got the information from MDN & W3school, just know how to set the select become disabled.
Sorry about my code is a little complex.

/* Your #dropdown should have at least two selectable (not disabled) option elements. */

  <select id="dropdown">
    <option value="subscrib"><input type="radio" name="button" value="button">Subscrib</option>
    <option value="touch" ><input type="radio" name="button" value="button">Touch</option>
  </select>
  
  **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:

1 Like

remove the radio buttons from inside the option elements

1 Like

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