Build a Checkout Page - Build a Checkout Page

Tell us what’s happening:

make acode of all of your input element that aren’t type of submit should have a label element associated with them

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.freecode.org/curriculum/labs/cube.jpg" alt="Cube Item">
            </section> 
            <section>
                <h2>Payment Information<h2>
                    <form>
                        <div>
                        <label form="card-name">Card Name:</label>
                        <input type="text" id="card-name" name="card-name" required aria-required="true">
                        </dev>
                        <dev>
                        <label for="card-number">Card Number:</label>
                        <input type="text" id="card-number" name="card-number" required aria-required="true">
                        </dev>
                        <dev>
                            <label for="expril-date">Expiry Date:</label>
                            <input type="text" id="exprily-date" name="exprily-date">
                            </dev>
                            <dev>
                            <label for="cvv">CVV:</label>
                            <input type="text" id="cvv" name="cvv">
                            </dev>
                            <input type="submit" value="submit">
                        </form>
                </section>

</body>

</html>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0

Challenge Information:

Build a Checkout Page - Build a Checkout Page

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

how to submit ,an input ,i can’t see the issues.i went back to my notes

You have a typo in one of your label attributes.

i got (exprily) it but still on submit ,not correct

what is the issue with submit input the last cod

There’s another typo there…keep looking.

oh thanks you are helping for sure i so it on image (freecodecamp)

Keep looking at your label and input elements.

i had to change expire date,still not yet

also dev is not a valid attribute name

can you share your updated code?

I do not understand, that is the code you first posted in this topic