Build a Book Catalog Table - Build a Book Catalog Table

Tell us what’s happening:

My four th elements have the text: Title, Author, Genre and Publication Year in this order. The test result has twice said that I should have them in that order. Unless there is a mistake that I can’t see, I would think that that there is a bug of some kind.

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>Sapiens</td>
          <td>Harari</td>
          <td>History</td>
          <td>2011</td>
        </tr>
        <tr>
          <td>The Book Eaters</td>
          <td>Sunyi Dean</td>
          <td>Novel</td>
          <td>2023</td>
        </tr>
        <tr>
          <td>African Economic History</td>
          <td>Ralf Austin</td>
          <td>Economics</td>
          <td>1994</td>
        </tr>
        <tr>
          <td>The Trial</td>
          <td>Franz Kafka</td>
          <td>Novel</td>
          <td>2010</td>
        </tr>
        <tr>
          <td>Perfume</td>
          <td>Patrick Sukind</td>
          <td>Novel</td>
          <td>1987</td>
        </tr>
        </tbody>
        <tfoot>
          <tr>
            <td colspan="4">Total Books: 5 </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/141.0.0.0 Safari/537.36 Edg/141.0.0.0

Challenge Information:

Build a Book Catalog Table - Build a Book Catalog Table
https://www.freecodecamp.org/learn/full-stack-developer/lab-book-catalog-table/build-a-book-catalog-table

remove all the space from the Author th

Sorry, I used a td rather than a th for thead element.

Tell us what’s happening:

A problem is repeated again. I reset the lesson several times and each time I have a result that doesn’t reflect what is done. Once it was about the th element’s text order. Another time it was about the td elements where it said that each tr should have exactly 4 td’s. This was obviously about the footer where there is only one tr with one td having a colspan attribute of 4. This time it is again about the th text order.
For many times now my code didn’t pass for such reasons. What can I do?

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>
        <td>Title</td>
        <td>Author</td>
        <td>Genre</td>
        <td>Publication Year</td>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>Sapiens</td>
          <td>Harari</td>
          <td>History</td>
          <td>2011</td>
        </tr>
        <tr>
          <td>The Book Eaters</td>
          <td>Sunyi Dean</td>
          <td>Novel</td>
          <td>2023</td>
        </tr>
        <tr>
          <td>African Economic History</td>
          <td>Ralf Austin</td>
          <td>Economics</td>
          <td>1994</td>
        </tr>
        <tr>
          <td>The Trial</td>
          <td>Franz Kafka</td>
          <td>Novel</td>
          <td>2010</td>
        </tr>
        <tr>
          <td>Perfume</td>
          <td>Patrick Sukind</td>
          <td>Novel</td>
          <td>1987</td>
        </tr>
        </tbody>
        <tfoot>
          <tr>
            <td colspan="4">Total Books: 5</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/141.0.0.0 Safari/537.36 Edg/141.0.0.0

Challenge Information:

Build a Book Catalog Table - Build a Book Catalog Table
https://www.freecodecamp.org/learn/full-stack-developer/lab-book-catalog-table/build-a-book-catalog-table

I have merged your two topics, please do not create multiple topics for the same challenge

it says

Failed:4. You should have four th elements within your thead element’s row.

what do you have inside your thead element?