Build a Checkout Page - Build a Checkout Page

Tell us what’s happening:

My 11th test not passing but I did what was asked to do. Please help me

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="Drumstick veggies">
        </section>
        <section>
            <h2>Payment Information</h2>
            <form>
                <input id="card-name" name="card-name" aria-required="true"></input>
                <label for="card-name"></label>
                <input id="card-number" name="card-number" aria-required="true"></input>
                <label for="card-number"></label>
            </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/132.0.0.0 Safari/537.36

Challenge Information:

Build a Checkout Page - Build a Checkout Page

You’ll need to add the required attribute to your input elements, in addition to the aria-required attributes.

Got it :slight_smile:
Test also passed, thank you very much :heart:

1 Like