Build a Bookstore Page - Step 12

Tell us what’s happening:

I got confused here , with the button , any help please?

Your code so far

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

<!-- User Editable Region -->

    <div class="card" id="sally-adventure-book">
      <button class="btn"Buy Now>
      <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>

<!-- 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/17.6 Safari/605.1.15

Challenge Information:

Build a Bookstore Page - Step 12

my button element’s text should be Buy Now.

A button element needs both an opening and closing tag (like the h2 element below it for example). The text of the element should be between the opening and closing tag, not inside the opening tag.

1 Like

thank youuuu,now I got it

1 Like