Build a Bookstore Page - Step 4

Tell us what’s happening:

1. Your div element should have a class attribute. 2. Your div element should have a class attribute with the value of card-container.

but i added class attribute or did i do something wrong?

Your code so far


<!-- User Editable Region -->

<h1>XYZ Bookstore</h1>
<p>Browse our collection of amazing books!</p>
<div>
    <p class="card-container"></p>
</div>

<!-- 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/142.0.0.0 Safari/537.36

Challenge Information:

Build a Bookstore Page - Step 4

you gave the class to the p element, give it to the div instead

1 Like

This fixed my issue, thanks!