curriculum/challenges/english/blocks/workshop-tailwind-pricing-component/6864e31ef17310b9e6aa376e.md
The grid items are too close to the left and right edges of the page, so you should work on the spacing.
Assign the class max-w-6xl to the div to set a fixed width of 72rem and prevent the items from stretching too far across the page.
As that will push all of them to the left, add mx-auto to the div to center the items horizontally.
Your div element should have the class max-w-6xl.
const firstDiv = document.querySelector("div")
assert.isTrue(firstDiv.classList.contains("max-w-6xl"))
Your div element should have the class mx-auto.
const firstDiv = document.querySelector("div")
assert.isTrue(firstDiv.classList.contains("mx-auto"))
<!DOCTYPE html>
<html lang="en">
<head>
<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>
</head>
<body class="bg-gray-100">
<main>
<h1 class="mt-8 mb-12 text-center text-3xl md:text-5xl font-semibold text-gray-900">Choose your listening plan</h1>
--fcc-editable-region--
<div class="grid grid-cols-1 md:grid-cols-3 ">
--fcc-editable-region--
<div>
<div>
<h2>Listener</h2>
<p>$0<span>/month</span></p>
<p>
Start exploring millions of songs with basic features and ads.
</p>
<ul>
<li><span>✓</span>Ad-supported streaming</li>
<li><span>✓</span>Curated playlists</li>
</ul>
</div>
<a href="#">Start listening</a>
</div>
<div>
<div>Most Popular</div>
<div>
<h2>Premium</h2>
<p>$9.99<span>/month</span></p>
<p>
Enjoy the full music experience with unlimited access and
downloads.
</p>
<ul>
<li><span>✓</span>Ad-free listening</li>
<li><span>✓</span>Offline playback</li>
<li><span>✓</span>Unlimited skips</li>
</ul>
</div>
<a href="#">Go Premium</a>
</div>
<div>
<div>
<h2>Family</h2>
<p>$14.99<span>/month</span></p>
<p>
Enjoy all of the features with a plan for up to 6 family members.
</p>
<ul>
<li>
<span>✓</span>All Premium features
</li>
<li>
<span>✓</span>Up to 6 accounts
</li>
<li>
<span>✓</span>Individual playlists &
libraries
</li>
<li>
<span>✓</span>Family Mix playlists
</li>
</ul>
</div>
<a href="#">Start Family Plan</a>
</div>
</div>
</main>
</body>
</html>