Build a Bookstore Page - Step 18

Tell us what’s happening:

我的p元素的位置显示不对,并且文本内容也显示有问题,但是内容我是复制粘贴的,我实在不知道应该怎末办了,希望有路过的大神帮助我,谢谢

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">
    <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>
    <p>Review your selections and continue to checkout.</p>
    <div class="btn-container"></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 Edg/144.0.0.0

Challenge Information:

Build a Bookstore Page - Step 18

1 Like

this is inside the element with the class card-container, not below it


the red line links together the opening and closing tags of the element with the class card-container, you need to write after the closing tag

1 Like

很抱歉我尝试修改了一些,好像还是不行,您能不能在帮助我一下

1 Like

There should be 2 closing divs after “buy now”. I can’t really make sense of this screenshot. Please share your code here instead of a screen shot.
“buy now”后面应该有两个结束标签</div>。我看不懂这张截图。请直接分享你的代码,而不是截图。

Click the opening tag of the “card-container” div. The closing tag will be highlighted in the editor. Your new code needs to go after that.
点击“card-container”div 元素的起始标签。编辑器中会高亮显示其结束标签。您需要将新代码放在该结束标签之后。

1 Like

我成功了,非常感谢你们 :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley: :smiley:

2 Likes

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