Build a Bookstore Page - Step 18

Tell us what’s happening:

BUILD A BOOKSTORE
STEP 18
Below the p element, create a div element with the class attribute set to btn-container. This container will group your navigation
button elements.

I need help on this step please!

Your code so far

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

<body>

<!-- 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="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 -->

</body>

</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36

Challenge Information:

Build a Bookstore Page - Step 18

It doesn’t look like you have added any code for this step. How can we help?

when it says “below” it doesn’t mean inside

remember that an element has an opening and a closing tag, to write below the element, you must write below the closing tag

here you can see the opening and closing tags of the element linked together:

thank you guys ….its finally passed

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.