Build a Book Catalog Table - Build a Book Catalog Table

Tell us what’s happening:

The tests say that I should have only one tbody element. but I checked and there is exactly one tbody element.It’s a false tip. and there’s more to it. what should 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>
      <caption>Book Catalog</caption>
      <thead>
        <tr>
          <th>Title</th>
          <th>Author</th>
          <th>Genre</th>
          <th>Publication Year</th>
        </tr>
      </thead>
      <tbody>
        <tr>
<td>How to Contribute to Open-Source Projects A Handbook for Beginners</td>
<td>Hillary Nyakundi</td>
<td>Open Source</td>
<td>2023</td>
        </tr>
        <tr>
<td>Learn Linux for Beginners: From Basics to Advanced Techniques</td>
<td>Zaira Hira</td>
<td>Linux</td>
<td>2024</td>
        </tr>
        <tr>
<td>How to Learn to Code and Get a Developer Job</td>
<td>Quincy Larson</td>
<td>Lean to Code</td>
<td>2024</td>
        </tr>
        <tr>
<td>The Regular Expressions Book – RegEx for JavaScript Developers</td>
<td>Kolade Chris</td>
<td>Regular Expressions</td>
<td>2024</td>
        </tr>
        <tr>
<td>The Python Code Example Handbook</td>
<td>Farhan Hasin Chowdhury</td>
<td>Python</td>
<td>2023</td>
        </tr>
      </tbody>
      <tfooter>
        <tr>
          <td colspan="4">Total Books: 5</td>
        </tr>
      </tfooter>
    </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/144.0.0.0 Safari/537.36 Edg/144.0.0.0

Challenge Information:

Build a Book Catalog Table - Build a Book Catalog Table

This is not a valid HTML element.

1 Like

yes. thank you that solved it.

1 Like