Tell us what’s happening:
whats wrong with my code
its telling me to add the “for” element but its already there
Your code so far
<!-- file: index.html -->
<!-- User Editable Region -->
<div class="question-block">
</div>
<div class="answer">
<select required id='select' name='select'>
<label for='select'>Can the CSS margin property accept negative values?</label>
<option value="">Select an option</option>
<option value="yes">Yes</option>
<option value="no">No</option>
</select>
</div>
<!-- User Editable Region -->
/* 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/130.0.0.0 Safari/537.36
Challenge Information:
Learn Accessibility by Building a Quiz - Step 38