Build a Book Inventory App - Build a Book Inventory App

Tell us what’s happening:

Having trouble creating the selectors for steps 48-53. I have tried several options from other posts but cannot get even 48 to pass.

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>
      <tr>
        <th>Title</th>
        <th>Author</th>
        <th>Category</th>
        <th>Status</th>
        <th>Rate</th>
      </tr>
    </thead>
    <tbody>
      <tr class="read">
        <td>Legendborn</td>
        <td>Deonn</td>
        <td>Fantasy</td>
        <td><span class="status"> Read </span></td>
        <td><span class="rate one">
              <span></span>
              <span></span>
              <span></span>
            </span>
        </td>
      </tr>
      <tr class="read">
        <td>Pucking Sweet</td>
        <td>Rath</td>
        <td>Romance</td>
        <td><span class="status"> Read </span></td>
        <td><span class="rate two">
              <span></span>
              <span></span>
              <span></span>
            </span>
        </td>
      </tr>
      <tr class="in-progress">
        <td>Riches to Riches</td>
        <td>Mills</td>
        <td>Mafia</td>
        <td><span class="status"> In Progress </span></td>
        <td><span class="rate">
              <span></span>
              <span></span>
              <span></span>
            </span>
        </td>
      </tr>
    </tbody>
  </table>
</body>

</html>
/* file: styles.css */
tr[class="read"] {
  background-image: linear-gradient(to bottom, #9ad4bc 50%, #919561 100%)
}

tr[class="to-read"] {
  background-image: linear-gradient(to bottom, #bae3ea 50%, #83a8d4 100%)
}

tr[class="in-progress"]  {
  background-image: linear-gradient(to bottom, #ffe785 50%, #ffda59 100% )
}

span {
  display: inline-block;
}

tr[class="to-read"] span[class="status"] {
  border: 2px solid blue;
  background-image: linear-gradient(#2874a6);
}

tr[class="read"] span[class="status"] {
  border: 2px solid green;
  background-image: linear-gradient(#485639);
}

tr[class="in-progress"] span[class="status"] {
  border: 2px solid yellow;
  background-image: linear-gradient(#faa300);
}

span[class="status"], span[class^="rate"] {
  height: 20px;
  width: 100px;
  padding: 1px 1px;
}

span[class^="rate"] > span {
  border: 2px solid black;
  border-radius: 50px;
  margin: auto;
  height: 20px;
  width: 20px;
  background-color: #fff
}

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/143.0.0.0 Safari/537.36 Edg/143.0.0.0

Challenge Information:

Build a Book Inventory App - Build a Book Inventory App

when u use class*="one" the span element with the class=”someone” will also get selected. you need to think of a selector that selects a span element when the specific word "one” is present in its class.