Build a Bookstore Page - Step 19

Tell us what’s happening:

can someone help me figure this out? Apparently im not using my id right?

Your code so far

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <title>XYZ Bookstore Page</title>
</head>

<body>
  <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>
  </div>
  
  <p>Review your selections and continue to checkout.</p>
  
<!-- User Editable Region -->
  <div class="btn-container" id="view-cart-btn">
  <button class="btn">View Cart</button>

<div class="btn-container"
  id="checkout-btn">
  <button class="btn">Checkout</button>
<!-- User Editable Region -->
</div>
</body>

</html>

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.5.2 Safari/605.1.15

Challenge Information:

Build a Bookstore Page - Step 19

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-bookstore-page/68eca6e5a6759ed4ea0034dc.md at main · freeCodeCamp/freeCodeCamp · GitHub

Hi @joshthedon,

Please reset this step and try again.

Add two button elements inside the existing btn-container div – the id attribute should go inside the button elements, not the div.

Happy coding