Build a Bookstore Page - Step 6

Tell us what’s happening:

Hi everyone, How do I add an id attribute to my element with a class of card with the value of sally-adventure-book. ? I’ve tried everything and can’t seem to get my code to pass.

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">
    <p id="card">sally-adventure-book</id>
</div>

<!-- User Editable Region -->

</div>

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 6

here you have added an id with the value of card, you need to use the correct value, but you are adding an id in the correct way

Please reset this step to restore the original code and try again. What is the current element with a class of card? Your new id attribute should be added to that element. No need to add another element.

I think I’ve tried this already, I tried so many things but I will try again.