Tell us what’s happening:
i’ve already given the id attributes to my select elements but still my code doesn’t passed … and the suggestion is you should give the select elemnt id attributes
Your code so far
<!-- file: index.html -->
<!-- User Editable Region -->
<div class="question-block">
<label for="select" select id="">Can the CSS margin property accept negative values?</label>
</div>
<div class="answer">
<select id="" required>
<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/126.0.0.0 Safari/537.36
Challenge Information:
Learn Accessibility by Building a Quiz - Step 38