Build a Bookstore Page - Step 9

Tell us what’s happening:

hi,I don’t think i understand what i am supposed to do here. the id attribute should be within the div element right? or i am confused by the instruction. pleas help

Your code so far

<!DOCTYPE html>
<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 id="book">sally-adventure-book</div>      

<!-- User Editable Region -->

    </div>
  </div>
</body>

</html>

Your browser information:

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

Challenge Information:

Build a Bookstore Page - Step 9

it looks like you’ve misunderstood the instructions:

Add an id attribute to your element having a class of card and set its value to sally-adventure-book .

Instead of putting the id value nested within the div, put it as the value of the id attribute

Hi @Nthabiseng ,

It looks like you may have changed the starting code in areas you were not asked to change, which will cause the tests to fail. Please click the reset button to restore the original code and try again.

image


Please add theid attribute to the existing .card element and set its value to what is asked in the instructions. Do not remove any other attributes in the .card element.

Happy coding!

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