Build a Checkout Page - Build a Checkout Page

Tell us what’s happening:

I try to complete these myself - but think I need help figuring out where I went wrong here.

I’m failing the check for 11 - not sure why because the card number input has the type defined as text…

16 and 18 also fail the check for the p tag with id=“card-number-help”

It’s probably something obvious - but any help appreciated - thank you!

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 partially rotated cube puzzle toy">
    </section>

    <section>
        <h2>Payment Information</h2>
        <form>
            <label for="card-name" id="card name">
                Cardholder Name:
                <span aria-hidden="true">*</span>
            </label>
            <input id="card-name" name="card-name" type="text" required>

            <label for="card-number" id="card-number">
                Card Number:
                <span aria-hidden="true">*</span>
            </label>
            <input id="card-number" name="card-number" required aria-describedby="card-number-help" type="text">
            <p id="card-number-help">Type card number in this box</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/152.0.0.0 Safari/537.36

Challenge Information:

Build a Checkout Page - Build a Checkout Page

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-checkout-page/66da326c02141df538f29ba5.md at main · freeCodeCamp/freeCodeCamp · GitHub

Nevermind! I figured out that I needed to make the id for the Label and the Input elements different.