Learn Accessibility by Building a Quiz Step 21

The only thing holding me up on this step is that is the code checker doesn’t think I’m giving the second input a type of email. Here’s my code so far for the whole step.

<h2 id="student-info">Student Info</h2>
          <div class="info">
            <label for="student-name">Name:</label>
              <placeholder="student name">
            <input id="student-name"/>
          <div class="info">
            <label for="student-email">Email:</label>
            <input id="student-email" />
          <div class="info">
            <label for="birth-date">D.O.B.:</label>
            <input id="birth-date"/>

What is the link to the challenge?

This is all malformed syntax:

You can’t put attribute-value pairs into isolated elements. Your browser doesn’t know what elements these attribute-value pairs are supposed to modify.

You’re right. I looked back on my previous work and these items were part of a label element of something like that I’ll make those changes.

Here’s the link to the challenge

You must make the attributes part of the tags

<p attribute="value" attribute="value"></p>