Build a Checkout Page - Build a Checkout Page

Tell us what’s happening:

hello,apparently i did all good but i cannot resolve the questions number 14 and 15,can someone help me?

Your code so far

<!DOCTYPE html>
<html lang="en">
<h1>Checkout</h1>
<section>
    <h2>Your Cart</h2>
    <img src="https://cdn.freecodecamp.org/curriculum/labs/cube.jpg" alt="a rubik cube getting disarmed">
    </section>
    <section>
        <h2>Payment Information</h2>
        <form>
            <label for="card-name">card-name</label>
            <input id="card-name" name="card-name"
            type="text" required>
            <label for="card-number">card-number</label>
            <input id="card-number" name="card-number"
            type="text" aria-describedby="card-number-help" required>
            <p id="card-number-help" aria-describedby="card-number">card-number help</p>
            <span text="card-name" aria-hidden="true"></span>
            <span text="card-number" aria-hidden="true"></span>
            </form>
    </section>
<head>
    <meta charset="UTF-8" />
    <title>Checkout Page</title>
</head>

<body>

</body>

</html>

Your browser information:

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

Challenge Information:

Build a Checkout Page - Build a Checkout Page

Hi,

Please review the user stories carefully. The span elements should be inside the label elements each.

Good luck!

1 Like