Build a Book Catalog Table - Build a Book Catalog Table

Tell us what’s happening:

Something is wrong with my td elements - it says I should have exactly four td elements as children as well as an issue with the same element in the tfoot?

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>One</td>
          <td>of</td>
          <td>Ficton</td>
          <td>1992</td>
        </tr>
        <tr>
          <td>Two</td>
          <td>the</td>
          <td>Non Fiction</td>
          <td>1999</td>
        </tr>
        <tr>
          <td>Three</td>
          <td>for</td>
          <td>Scientific</td>
          <td>2000</td>
        </tr>
        <tr>
          <td>Four</td>
          <td>with</td>
          <td>Maths</td>
          <td>1879</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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Safari/605.1.15

Challenge Information:

Build a Book Catalog Table - Build a Book Catalog Table

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-book-catalog-table/66ec4c8e9878d8441956516f.md at main · freeCodeCamp/freeCodeCamp · GitHub

Hi @HawKir17

Check the closing tag:

I count four rows.

Your table should have a table body element with at least five rows in it.

Happy coding