Build a Bookstore Page - Step 15

Tell us what’s happening:

i tried many times am not seeing where the mistake is

Your code so far


<!-- User Editable Region -->

<h1>XYZ Bookstore</h1>
<p>Browse our collection of amazing books!</p>
<div class="card-container">
  <div class="card" id="sally-adventure-book">
    <h2>Sally's SciFi Adventure</h2>
    <p>This is an epic story of Sally and her dog Rex as they navigate through other worlds.</p>
    <div class="btn-container"></div>
    <button class="btn">Buy Now</button>
  </div>
  <div class="card" id="dave-cooking-book">
    <h2>Dave's Cooking Adventure</h2>
    <p>This is the story of Dave as he learns to cook everything from pancakes to pasta, one recipe at a time.</p>
    <button class="btn">Buy Now</button>
  </div>
</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 15

this is .card-container,you need to add the new elements below this, not inside

Can you share the code which you’ve tried for this step please?

The code you shared above is the unmodified seed code for this step.

Tell us what’s happening:

the code is this one, i tried even to restart but nothing works .

Your code so far


<!-- User Editable Region -->

<h1>XYZ Bookstore</h1>
<p>Browse our collection of amazing books!</p>
<div class="card-container">
  <p>Review your selections and continue to checkout.</p>
  <div class="btn-container"></div>
  <div class="card" id="sally-adventure-book">
    <h2>Sally's SciFi Adventure</h2>
    <p>This is an epic story of Sally and her dog Rex as they navigate through other worlds.</p>
    <button class="btn">Buy Now</button>
  </div>
  <div class="card" id="dave-cooking-book">
    <h2>Dave's Cooking Adventure</h2>
    <p>This is the story of Dave as he learns to cook everything from pancakes to pasta, one recipe at a time.</p>
    <button class="btn">Buy Now</button>
  </div>
</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 15

Hi @ariella

I went ahead and combined your posts for you. In the future, just reply to the original thread to add further updates.

Thanks.

As @ILM said – You need to add the new elements below the .card-container element, not inside it.

Hi @ariella

Here is the error message:

The newly added p element should be below the element with a class of card-container.

There are three parts to this challenge.

  1. The new elements go below a container element.
  2. The first element is a paragraph element containing text
  3. The third element is a div element with a class attribute.

Happy coding