Build a Checkout Page - Build a Checkout Page

Tell us what’s happening:

Step 10: not sure what more I’m supposed to add to the label if the submit element is what I’m missing.

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="rubics cube">
        </section>
         <section>
            <h2>Payment Information</h2>
            <form>
                <label>Cardholder Name</label>
                <input id="card-name" name="card-name" required aria-required="true">
                <br>
                <label>Card Number</label>
                <input id="card-number" name="card-number" required aria-required="true">
        </section>
        <button type="submit">Submit</button>
</body>

</html>

Your browser information:

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

Challenge Information:

Build a Checkout Page - Build a Checkout Page

Welcome to the forum @vdiaz072017

How do you associate a label and input element?

Happy coding