Build a Bookstore Page - Step 18

Tell us what’s happening:

I have done as instructed to ,but my code is incorrect.I cannot find the faults in my code. Please help me.

Your code so far


<!-- User Editable Region -->

<h1>XYZ Bookstore</h1>
<p>Browse our collection of amazing books!</p>
<div class="card-container">
  <p div class="btn-container"></p>
  <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">
    <div class="btn-container"></div>
    <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>
    <p> Review your selections and continue to checkout.</p>
  </div>
</div>


<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.0.1 Safari/605.1.15

Challenge Information:

Build a Bookstore Page - Step 18

Have a look at the instructions again to see where you are supposed to add this.

I suggest you reset the step and try again as you have put it in the wrong place:

    <div class="btn-container"></div>

I don’t understand where my mistake is.

1 Like

you added it inside the class="card-container", not after it

1 Like