Build a Book Catalog Table - Build a Book Catalog Table

Tell us what’s happening:

In the the lab book catalog table,this is the last test case:The td element in your tfoot element’s row should have the text Total Books: [number of books in your table].
This is what i have coded:

Total Books:[4]

Please help me where I am wrong,I am not able to pass this last step.

Your code so far

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Book Catalog</title>
</head>

<body>
  <table>
    <thead>
<tr>
  <th>Title</th>
  <th>Author</th>
  <th>Genre</th>
  <th>Publication Year</th>
  </tr>

    </thead>
    <tbody>
    <tr>
      <td>Book1</td>
      <td>Book2</td>
      <td>Book3</td>
      <td>Book4</td>
      </tr>     
      <tr>
      <td>Book1</td>
      <td>Book2</td>
      <td>Book3</td>
      <td>Book4</td>
    </tr>
    
    <tr>
      <td>Book1</td>
      <td>Book2</td>
      <td>Book3</td>
      <td>Book4</td>    
      </tr>
    <tr>
      <td>Book1</td>
      <td>Book2</td>
      <td>Book3</td>
      <td>Book4</td>
    </tr>
    
    <tr>
      <td>Book1</td>
      <td>Book2</td>
      <td>Book3</td>
      <td>Book4</td>
    </tr>
</tbody>
    <tfoot>
      <tr>
        <td colspan="4"> Total Books:[4]</td>
</tr>
    </tfoot>
  </table>

</body>

</html>

Your browser information:

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

Challenge Information:

Build a Book Catalog Table - Build a Book Catalog Table

the square brackets are part of the placeholder, not of the text to put in the element

also check your spaces

I got the answer,total number of books should be 5 instead of 4.
Reason:
Each row in the table (except the heading) shows one book’s details — like its title, author, genre, and year.
So, if there are 5 rows under the table heading, it means there are 5 books.
We are not counting the columns (like “Book1”, “Book2”…), we are counting how many full book entries are written.

Each row is one full book’s information.
Each row is one book:
Title + Author + Genre + Year = 1 Book

That’s why the total number of books is 5, not 4.