Build a Bookstore Page - Step 4

Tell us what’s happening:

XYZ Bookstore

Browse our collection of amazing books!

Class Container

What’s wrong with this code
It shows “your div element should have a class container”

Your code so far


<!-- User Editable Region -->

<h1>XYZ Bookstore</h1>
<p>Browse our collection of amazing books!</p>
<div>
    <p class="card-container">Class 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

Hi @avijit6prasad and welcome to our community!

Add a class attribute to your div element and set its value to card-container.

You don’t need to add a p element. Just add the class attribute directly to the div element.

1 Like