Build a Bookstore Page - Step 10

Tell us what’s happening:

I am tying to make the two elements with a class of siblings

Your code so far

<h1>XYZ Bookstore</h1>
<p>Browse our collection of amazing books!</p>
<div class="card-container">

<!-- User Editable Region -->

  <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-container">
    <div class="card" id="roseline-food-adventure">
      <h2>Roseline's Food Adventure</h2>
      <p>This is an epic story of Roseline and her friend Irene as they travel round the world tasting different dishes.</p>
      <button class="btn">Buy Now</button>
    </div>

 

<!-- User Editable Region -->

</div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0

Challenge Information:

Build a Bookstore Page - Step 10

you are not asked to use a sibling class, you are asked to make the two elements siblings

that means they need to be inside the same element, you have created a new div with class="card-container", instead you need to put the new div inside the existing div with class="card-container"