Build a Checkout Page - Build a Checkout Page

Tell us what’s happening:

I cant get past step 16 of building a self checkout page
Step16: You should have a p element with an id of card-number-help immediatley after the card number input.

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 picture of a mixed rubix cube">

</section>
<section>
    <h2>Payment Information</h2>
    <form>
        <label for="card-name" > Card<span aria-hidden="true">*</span></label>
        <input required id="card-name" name="card-name" type="text"/>
        <label for="card-number"><span aria-hidden="true">*</span>
        <input required id="card-number" name="card-number" type="text" aria-describedby="card-number-help"/><p id="card-number-help">Please enter your 16 digit card number </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

Challenge Information:

Build a Checkout Page - Build a Checkout Page

Is this a complete HTML element?

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