Build a Checkout Page - Build a Checkout Page

Tell us what’s happening:

I am having trouble passing step 10. Can someone help?

Your code so far

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <title>Checkout Page</title>
</head>
<body>
<h1>Checkout</h1>
  <section>
    <h2>Your Cart</h2>
    <img src="https://cdn.freecodecamp.org/curriculum/labs/cube.jpg" alt="A Rubriks Cube">
  </section>
  <section>
    <h2>Payment Information</h2>      
      <form>
        <label for="card-name">Name on Card <span class="required"*< aria-hidden="true"</span>
        </label>
          <input id="card-name" name="card-name" type="text" required>  
      </form>
      <form>
        <label for="card-number">Card Number <span class="required"*< aria-hidden="true"</span>
        </label>  
          <input id="card-number" name="card-number" type="text" required aria-describedby="card-number-help">
          <p id="card-number-help">Card Number Help</p>
      </form>
  </section>
</body>

</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36 Edg/145.0.0.0

Challenge Information:

Build a Checkout Page - Build a Checkout Page

You must correct your span element. The * isn’t inside the span but outside. And close the span properly

Is this what you mean?

Name on Card <span class=“*” aria-hidden=“true”

The * is not a attribute. It’s put between the <span> and </span>.

I was able to figure it out, I needed to put the aria-hidden=”true” before the class=”required”>*