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
<!-- 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">✓</span>Up to 6 accounts</li>
<li><span aria-hidden class="text-green-700 mr-2">✓</span>Ad-free streaming</li>
<li><span aria-hidden class="text-green-700 mr-2">✓</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
There are two ways you can format your code to make it easier to read and test:
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.)
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.
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: