# Build a Pricing Component - Step 47

**URL:** <https://forum.freecodecamp.org/t/build-a-pricing-component-step-47/800315>\
**Category:** Curriculum Help\
**Tags:** html-css\
**Created:** [September 16, 2026, 5:57am UTC](https://forum.freecodecamp.org/t/build-a-pricing-component-step-47/800315 "2026-09-16T05:57:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yadavarpit.whitehat](https://avatars.discourse-cdn.com/v4/letter/y/5e9695/32.png) [@yadavarpit.whitehat](https://forum.freecodecamp.org/u/yadavarpit.whitehat)\
**Post date:** [September 16, 2026, 5:57am UTC](https://forum.freecodecamp.org/t/build-a-pricing-component-step-47/800315/1 "2026-09-16T05:57:47Z")

</div>

### Tell us what’s happening: Step 47 not working `text-gray-600`

The code is not being accepted even though I have assigned the `text-gray-600` class to the paragraph under the price text exactly as instructed. I have also tried applying the class to the relevant paragraphs, but the checker still shows the same error: “Your `p` element should have the class `text-gray-600`.” Please check whether there is an issue with the test or the expected code structure.

### Your code so far

```html
<!-- User Editable Region -->
          <div class="grid grid-rows-[auto_auto_auto_1fr] gap-y-2">
            <h2 class="text-lg font-semibold text-indigo-600">Family</h2>

            <p class="text-4xl font-bold text-gray-900">
              $14.99<span class="text-base font-medium text-gray-500">/month</span>
            </p>

            <p class="text-gray-600">
              Share your account with up to 6 members with individual accounts.
            </p>

            <ul class="mt-6 space-y-2 text-sm text-gray-700">
              <li><span aria-hidden class="text-green-700 mr-2">&#10003;</span>Up to 6 accounts</li>
              <li><span aria-hidden class="text-green-700 mr-2">&#10003;</span>Ad-free streaming</li>
              <li><span aria-hidden class="text-green-700 mr-2">&#10003;</span>Parental controls</li>
            </ul>
          </div>

          <a href="#" class="bg-indigo-100 px-4 py-2 text-center font-semibold text-indigo-700 hover:bg-indigo-200 block rounded-md">
            Start family plan
          </a>
        </div>

      </div>
    </main>
  </body>
</html>
<!-- User Editable Region -->

```

### Your browser information:

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

### Challenge Information:

Build a Pricing Component - Step 47

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/front-end-development-libraries-v9/workshop-tailwind-pricing-component/step-47)**
>
> Learn to Code for Free

GitHub Link: [freeCodeCamp/curriculum/challenges/english/blocks/workshop-tailwind-pricing-component/6867caa0dbbeb93570ec0069.md at main · freeCodeCamp/freeCodeCamp · GitHub](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/blocks/workshop-tailwind-pricing-component/6867caa0dbbeb93570ec0069.md)

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [September 16, 2026, 7:01am UTC](https://forum.freecodecamp.org/t/build-a-pricing-component-step-47/800315/2 "2026-09-16T07:01:26Z")

</div>

your code does not match the code of this step, please reset the step and try again, then add the class to the highlighted `p` element

 ![image](https://global.discourse-cdn.com/freecodecamp/original/4X/4/4/0/4407f2923e12fa785f23b0aa050c44bc2315a9b1.png)

---

<div class="post-metadata">

**Author:** ![yadavarpit.whitehat](https://avatars.discourse-cdn.com/v4/letter/y/5e9695/32.png) [@yadavarpit.whitehat](https://forum.freecodecamp.org/u/yadavarpit.whitehat)\
**Post date:** [September 16, 2026, 7:04am UTC](https://forum.freecodecamp.org/t/build-a-pricing-component-step-47/800315/3 "2026-09-16T07:04:13Z")

</div>

(CHECK NOW)

```
<meta charset="UTF-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>Music App Pricing</title>

<script src="https://cdn.tailwindcss.com"></script>

```

```
<main>

  <h1 class="text-3xl text-center font-semibold text-gray-900 md:text-5xl mt-8 mb-12">

    Choose your listening plan

  </h1>

  <div class="grid grid-cols-1 md:grid-cols-3 max-w-6xl mx-auto gap-8 mt-16">

    <div class="bg-gray-100 ring-1 ring-gray-300 grid grid-rows-\[1fr_auto\] rounded-xl p-8 gap-6">

      <div class="grid grid-rows-\[auto_auto_auto_1fr\] gap-y-2">

        <h2 class="text-lg font-semibold text-indigo-600">Listener</h2>

        <p class="text-4xl font-bold text-gray-900">

          $0<span class="text-base font-medium text-gray-500">/month</span>

        </p>

        <p class="text-gray-600">

          Start exploring millions of songs with basic features and ads.

        </p>

        <ul class="mt-6 space-y-2 text-sm text-gray-700">

          <li><span aria-hidden class="text-green-700 mr-2">&#10003;</span>Ad-supported streaming</li>

          <li><span aria-hidden class="text-green-700 mr-2">&#10003;</span>Curated playlists</li>

        </ul>

      </div>

      <a href="#" class="bg-indigo-100 px-4 py-2 text-center font-semibold text-indigo-700 hover:bg-indigo-200 block rounded-md">

        Start listening

      </a>

    </div>

    <div class="bg-gray-950 text-white ring-2 ring-fuchsia-500 p-8 grid grid-rows-\[1fr_auto\] gap-6 rounded-xl scale-105 relative">

      <div class="absolute -top-3 right-3 bg-gradient-to-r from-fuchsia-500 to-indigo-500 rounded-full px-3 py-1 text-xs font-bold text-white">

        Most popular

      </div>

      <div class="grid grid-rows-\[auto_auto_auto_1fr\] gap-y-2">

        <h2 class="text-lg font-semibold text-fuchsia-200">Premium</h2>

        <p class="text-4xl font-bold text-white">

          $9.99<span class="text-base font-medium text-fuchsia-300">/month</span>

        </p>

        <p class="text-gray-300">

          Enjoy unlimited music with premium features and no ads.

        </p>

        <ul class="mt-6 space-y-2 text-sm text-fuchsia-100">

          <li><span aria-hidden class="text-green-500 mr-2">&#10003;</span>Ad-free streaming</li>

          <li><span aria-hidden class="text-green-500 mr-2">&#10003;</span>Unlimited skips</li>

          <li><span aria-hidden class="text-green-500 mr-2">&#10003;</span>Offline listening</li>

        </ul>

      </div>

      <a href="#" class="bg-gradient-to-r from-fuchsia-500 to-indigo-600 text-white hover:from-fuchsia-600 hover:to-indigo-700 rounded-md block px-4 py-2 text-center font-semibold">

        Go Premium

      </a>

    </div>

    <div class="bg-gray-100 ring-1 ring-gray-300 p-8 rounded-xl grid grid-rows-\[1fr_auto\] gap-6">

      <div class="grid grid-rows-\[auto_auto_auto_1fr\] gap-y-2">

        <h2 class="text-lg font-semibold text-indigo-600">Family</h2>

        <p class="text-4xl font-bold text-gray-900">

          $14.99<span class="text-base font-medium text-gray-500">/month</span>

        </p>

        <p class="text-gray-600">

          Share your account with up to 6 members with individual accounts.

        </p>

        <ul class="mt-6 space-y-2 text-sm text-gray-700">

          <li><span aria-hidden class="text-green-700 mr-2">&#10003;</span>Up to 6 accounts</li>

          <li><span aria-hidden class="text-green-700 mr-2">&#10003;</span>Ad-free streaming</li>

          <li><span aria-hidden class="text-green-700 mr-2">&#10003;</span>Parental controls</li>

        </ul>

      </div>

      <a href="#" class="bg-indigo-100 px-4 py-2 text-center font-semibold text-indigo-700 hover:bg-indigo-200 block rounded-md">

        Start family plan

      </a>

    </div>

  </div>

</main>

```

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [September 17, 2026, 3:05pm UTC](https://forum.freecodecamp.org/t/build-a-pricing-component-step-47/800315/4 "2026-09-17T15:05:44Z")

</div>

there are still extra changes

also please

There are two ways you can format your code to make it easier to read and test:

1. After you copy/paste your code into the editor, select it by dragging your cursor over it then click the (`</>`) button in the toolbar to automatically wrap your code in backticks. (You can click on the animated demo image below to enlarge it.)

 ![](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

1. Manually add three backticks on a new line above your code and on a new line after your code. Note that a backtick is NOT the same as a single quote('). To find the backtick key on your keyboard, see [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574).

To see changes to your post as you make them, you can click the (`M+`) button on the toolbar to bring up the rich text editor:

 ![image](https://global.discourse-cdn.com/freecodecamp/original/4X/a/a/1/aa16828d97d1fd4a1aa0f864a850415f01dc9d2b.png)
