Build a Bookstore Page - Step 15

Tell us what’s happening:

The p element has been added below the element with class card container, but there still appears to be an issue. Any advice? Thanks.

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>
    <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>
    <p>Review your selections and continue to checkout.</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 15

https://www.freecodecamp.org/learn/full-stack-developer/workshop-bookstore-page/step-15

are you sure it’s below the element with class="card-container"? look carefully where each div ends

According to the preview in the workshop, the content in the p element should go just below the Buy Now button, where the second book card ends. I read on another thread that the p element should be placed after the closing tag for the card-container, which would be the div in the last line of code. Placing the p element there also didn’t pass.

I have to a add the btn-container on the last line for it to pass and move on to step 16. It works now.

You haven’t put it below the card container. You’re putting it within the two divs