# Build a Checkout Page - Build a Checkout Page

**URL:** <https://forum.freecodecamp.org/t/build-a-checkout-page-build-a-checkout-page/799405>\
**Category:** Curriculum Help\
**Tags:** html-css\
**Created:** [September 4, 2026, 3:03am UTC](https://forum.freecodecamp.org/t/build-a-checkout-page-build-a-checkout-page/799405 "2026-09-04T03:03:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChibiBeckyG](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/chibibeckyg/32/162881_2.png) [@ChibiBeckyG](https://forum.freecodecamp.org/u/ChibiBeckyG)\
**Post date:** [September 4, 2026, 3:03am UTC](https://forum.freecodecamp.org/t/build-a-checkout-page-build-a-checkout-page/799405/1 "2026-09-04T03:03:22Z")

</div>

### 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

```html
<!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

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design-v9/lab-checkout-page/build-a-checkout-page)**
>
> Learn to Code — For Free

GitHub Link: [freeCodeCamp/curriculum/challenges/english/blocks/lab-checkout-page/66da326c02141df538f29ba5.md at main · freeCodeCamp/freeCodeCamp · GitHub](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/blocks/lab-checkout-page/66da326c02141df538f29ba5.md)

---

<div class="post-metadata">

**Author:** ![ChibiBeckyG](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/chibibeckyg/32/162881_2.png) [@ChibiBeckyG](https://forum.freecodecamp.org/u/ChibiBeckyG)\
**Post date:** [September 4, 2026, 3:20am UTC](https://forum.freecodecamp.org/t/build-a-checkout-page-build-a-checkout-page/799405/2 "2026-09-04T03:20:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [September 6, 2026, 3:21am UTC](https://forum.freecodecamp.org/t/build-a-checkout-page-build-a-checkout-page/799405/3 "2026-09-06T03:21:10Z")

</div>

Closed on September 6, 2026, 3:21am UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
