# Build a Book Catalog Table - Build a Book Catalog Table

**URL:** <https://forum.freecodecamp.org/t/build-a-book-catalog-table-build-a-book-catalog-table/799859>\
**Category:** Curriculum Help\
**Tags:** html-css\
**Created:** [September 9, 2026, 7:54pm UTC](https://forum.freecodecamp.org/t/build-a-book-catalog-table-build-a-book-catalog-table/799859 "2026-09-09T19:54:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HawKir17](https://avatars.discourse-cdn.com/v4/letter/h/9f8e36/32.png) [@HawKir17](https://forum.freecodecamp.org/u/HawKir17)\
**Post date:** [September 9, 2026, 7:54pm UTC](https://forum.freecodecamp.org/t/build-a-book-catalog-table-build-a-book-catalog-table/799859/1 "2026-09-09T19:54:40Z")

</div>

### 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

```html
<!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

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design-v9/lab-book-catalog-table/build-a-book-catalog-table)**
>
> Learn to Code — For Free

GitHub Link: [freeCodeCamp/curriculum/challenges/english/blocks/lab-book-catalog-table/66ec4c8e9878d8441956516f.md at main · freeCodeCamp/freeCodeCamp · GitHub](https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/blocks/lab-book-catalog-table/66ec4c8e9878d8441956516f.md)

---

<div class="post-metadata">

**Author:** ![Teller](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/teller/32/412338_2.png) [@Teller](https://forum.freecodecamp.org/u/Teller)\
**Post date:** [September 9, 2026, 8:42pm UTC](https://forum.freecodecamp.org/t/build-a-book-catalog-table-build-a-book-catalog-table/799859/2 "2026-09-09T20:42:05Z")

</div>

Hi @HawKir17

Check the closing tag:

> [@HawKir17](#):
>
> ```auto
> <tr>
> <td>Four</td>
> <td>with</td>
> <td>Maths</td>
> <td>1879</td>
> <tr>
> 
> ```

I count four rows.

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

Happy coding

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [September 11, 2026, 8:42pm UTC](https://forum.freecodecamp.org/t/build-a-book-catalog-table-build-a-book-catalog-table/799859/3 "2026-09-11T20:42:14Z")

</div>

Closed on September 11, 2026, 8:42pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
