Build a Checkout Page - Build a Checkout Page

Tell us what’s happening:

having problems with span and the where it goes can some one help me

Your code so far

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

<head>
    <meta charset="UTF-8" />
    <title>Checkout Page</title>
</head>
 <h1>Checkout</h1>
 <section>
     <h2>Your Cart</h2>
     <img src="https://cdn.freecodecamp.org/curriculum/labs/cube.jpg" alt="cube">

 </section>

 <section>
     <h2>Payment Information</h2>
     <form>
        <label for="card-name">Card-Name</label>
         <input id="card-name" name="card-name" type="text" required>
         <span="*" aria-hidden="true"></span>
         </input>
         <br>
           <label for="card-number">Card-Number</label>
         <input id="card-number" name="card-number" type="text" required aria-describedby="card-number-help">
         <span="*" aria-hidden="true"></span>
         </input>
         <p id="card-number-help">Please fill out your 16 digit card-number.</p>
     </form>
 </section>
<body>

</body>

</html>

Your browser information:

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

Challenge Information:

Build a Checkout Page - Build a Checkout Page

Hi @chrisfanniel451

This is not correct syntax.

The asterisk should appear in the preview.

Check where the span element goes.

Happy coding