Build a Book Inventory App - Build a Book Inventory App

Tell us what’s happening:

So difficult error is each row should have 5 column help!

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></span>
            <span></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></span>
            <span></span>
          </span>
        </td>
      </tr>
      <tr class="in-progress"></tr>
      <tr>
        <td>1</td>
        <td>2</td>
        <td>4</td>
        <td><span class="status">In Progress</span></td>
        <td>
          <span class="rate">
            <span class="three"></span>
            <span></span>
            <span></span>
          </span>
        </td>
      </tr>
      <tr>
        <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></span>
            <span></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,

Please check this row:

Happy coding

What’s wrong with it’s symantically correct

Does it have five columns?

Yes 4th td with class with span with class rate and 5th td with span with class rate

No; there are no columns inside that row element.

Typo 4th td with span class of status.

Check again at the tr mentioned. You can clearly see the tr and /tr tags and there is nothing in between them.

It looks like you accidentally closed it and opened a new tr below it.

Until you’re more comfortable with HTML, you might want to use this HTML Validator to check your code.