Section after dropdown not displayed correctly

Dropdown code
The radio buttons of the next section are visible and functional, but displayed on the same line and “Question 3” text is not showing

 <fieldset>
       <h4 class="question">Would you like to recieve updates?</h4><select id="dropdown">
        <option type="radio" name="updates" id="recieve-updates">Recieve updates</option>
    <option type="radio" name="updates" id="no-updates">Do not recieve updates</option></fieldset>

Next section

<fieldset>
        <h4 class="question">Question 3:</h4>
    <input type="radio" value="1" name="option">option 1</input>
     <input type="radio" value="2" name="option">option 2</input>
     </fieldset>

CSS

body{

background-color:#668800;

margin:1px;

}

fieldset{

border:0;

}

#title{

margin:auto;

margin-bottom:0;

text-align:center;

}

#description{

margin-top:0; text-align:center;

}

textarea{

margin-top:0;

}

where is your closing select tag?

1 Like