Build a Book Inventory App - Build a Book Inventory App

Tell us what’s happening:

Care to enlighten me where did I go wrong error is Each span element of the Status column should have the class of status

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>
    </thead>
    <tbody>
      <tr class="read">
        <td>1</td>
        <td>2</td>
        <td>3</td>
        <td><span class="status">Read</span></td>
        <td>
          <span class="rate">
            <span class"one"></span>
            <span class="status"></span>
            <span class="status" ></span>
          </span>
        </td>
      </tr>
      <tr class="to-read">
        <td>1</td>
        <td>2</td>
        <td>3</td>
        <td><span class="status" >To Read</span></td>
        <td>
          <span class="rate">
            <span class="two"></span>
            <span class="status"></span>
            <span  class="status" ></span>
          </span>
        </td>
      </tr>
      <tr class="in-progress">
       <td>1</td>
       <td>2</td>
       <td>3</td>
       <td><span class="status">In Progress</span></td>
       <td>
       <span class="rate">
          <span class="three"></span>
            <span class="status" ></span>
            <span class="status"></span>
          </span>
        </td>
      </tr>
      <tr class="read">
        <td>1</td>
        <td>2</td>
        <td>3</td>
        <td><span class="status" >4<span></td>
        <td>
          <span class="rate">
            <span class="one"></span>
            <span class="status"></span>
            <span class="status"></span>
          </span>
        </td>
      </tr>
    </tbody>
</body>
</html>
/* file: styles.css */
span[class="one"] span:first-of-type { background-image: linear-gradient(white,black);}
span[class="two"] span:nth-type(-n+2) {background-image: linear-gradient(white,black);}
span[class="#"]> span[class="three"] {
  background-image: linear-gradient(white,black);
}
span{display: inline-block}
span[class="status"] {border: 1px;
background-image: url("#");}
span[class~=one] span:nth-child(1) {background: linear-gradient(white,black);}
span >

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Mobile Safari/537.36

Challenge Information:

Build a Book Inventory App - Build a Book Inventory App

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-book-inventory-app/66a207974c806a19d6607073.md at main · freeCodeCamp/freeCodeCamp · GitHub

Hi @Irvin10

Try putting text in some of the .status span elements to visualise where they are placed.

Also check the class attribute value and syntax.

Happy coding

The issue is that you used class="status" on the rating spans too. Only the <span> inside the Status column should have that class. Remove class="status" from the spans inside .rate, and also fix class"one" to class="one".