Build a Bookstore Page - Step 18

Tell us what’s happening:

i followed the step but it keeps giving me your code does not Pass. dont give up i have tried many options and tired of trying cann i skip this step now and try later

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>
  <div class="btn-container"></div>
  <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></div>
      <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/143.0.0.0 Safari/537.36 Edg/143.0.0.0

Challenge Information:

Build a Bookstore Page - Step 18

Welcome to the forum @ezigbo !

Here is a pro tip for the coding interface:

If you highlight the opening or closing tag like this:
image
You can see where the selected element starts and ends.

Now, what do you see? Where is your <p> element exactly?
What did the task asked you to do?

1 Like

This step wants you to add the new p and div elements after the .card-container element. Remember that a complete HTML element has both a start tag and end tag. So, find the end tag for the .card-container element and add your new elements there.

You can always reset the code for this step back to the original code and try again by clicking the “Reset” button.

you can go wherever you want in the curriculum