Class : Learn HTML Forms by Building a Registration Form
Step 31 : Nest the select element (with its option elements) within a label element with the text How did you hear about us? . The text should come before the select element.
Here’s my code,I thought i was doing right. nested select element within label and also add text after the element. but it didnt pass ![]()
<label>How did you hear about us?
<select>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</label>
Test :
Sorry, your code does not pass. Don’t give up.
Hint : You should give the label element the text How did you hear about us?
