Learn Accessibility by Building a Quiz - Step 20

<label for="students name"></label>
            <input />
          </div>
          <div class="info">
            <label for="email address"></label>
            <input />
          </div>
          <div class="info">
            <label for="date of birth"></label>
            <input />

Hello, I have this code so far, and the hint I’m receiving after I try is " You should give the first label element an appropriate text content."
Can I get some assistance on how I can move forward?

a label needs text in order to display something in the browser that the user can see.
for eg.
<label>This is the text</label>

the words in between the opening and closing tag is called the label text

So add some label text (whatever you consider to be appropriate for this quiz)

Oh right, thank you, let me have a try at it

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.