Build a Quiz Webpage - Step 38

Tell us what’s happening:

Hola, estoy super bloqueada en el paso 38 me pide atributo for al label y ya esta puesto. Aun así me dice error. que hago mal?

Your code so far

<!-- file: index.html -->
<!-- User Editable Region -->

            <div class="question-block">
              <label for="">Can the CSS margin property accept negative values?</label>
            </div>
            <div class="answer">
              <label for=""></label>
              <select name="" 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/137.0.0.0 Safari/537.36

Challenge Information:

Build a Quiz Webpage - Step 38

You already have a label element, so this is unnecessary. Based on how you linked label and input elements previously, what attribute do you need to add to your select element?

1 Like