Build a Book Inventory App - Build a Book Inventory App

Tell us what’s happening:

i don’t understand why i can’t do 46 step also would first of type work?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <title>Book Inventory</title>
  <link rel="stylesheet" href="styles.css">
</head>

<body>
  <h1>Book Inventory</h1>
  <table>
<thead><th>Title</th><th>Author</th><th>Category</th><th>Status</th><th>Rate</th></thead>
<tbody><tr class="read">
  <td>The warriror</td><td>João Neves</td><td>Ação</td><td><span class="status">Read</span><td><span class="rate one"><span></span><span></span><span></span></span></td>
  </tr class="to-read"><tr class="in-progress">
    <td>The warriror</td><td>João Neves</td><td>Ação</td><td><span class="status">In Progress</span><td><span class="rate two"><span></span><span></span><span></span></span></td>
    </tr><tr class="read">
<td>The warriror</td><td>João Neves</td><td>Ação</td><td><span class="status">Read</span></td><td><span class="rate three"><span></span><span></span><span></span></span></td>      </tr><tr class="to-read"><td>The warriror</td><td>João Neves</td><td>Ação</td><td><span class="status">To Read</span></td><td><span class="rate one"><span></span><span></span><span></span></span></td></tr></tbody>
<table>
</body>

</html>
/* file: styles.css */
tr[class="read"]{
  background-image:linear-gradient(180deg,blue,lightblue);
}
tr[class="to-read"]{
background-image:linear-gradient(180deg,yellow,lightyellow);
}

tr[class="in-progress"]{
background-image:linear-gradient(180deg,red,#efcacb);
}

span{display:inline-block}

tr[class="to-read"] span[class="status"]{border:2px solid purple;
background-image:linear-gradient(180deg,green,lightgreen);
}
tr[class="read"] span[class="status"]{border:2px dashed orange; background-image:linear-gradient(0deg,pink,yellow);}

tr[class="in-progress"] span[class="status"]{border:2px dashed blue; background-image:linear-gradient(0deg,red,yellow);}
span[class="status"],span[class^="rate"]{height:4rem;width:4rem;padding:5px}

span[class^="rate"]>span{border:2px solid black;border-radius:20px;margin:5px; height:1em;width:1em;background-color:orange}

span[class~="one"]:first-child{}

Your browser information:

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

Challenge Information:

Build a Book Inventory App - Build a Book Inventory App

span[class~="one"] *:first-child {

}

this worked. Gemini 2.5 pro gave a similar awnser with a “span” where the * is but beacuse in the inbstruction it dosent explicitly say to be a span i used the *

you have syntax issues here, you do not put attributes in the closing tag, you may want to check on that