Build a Book Catalog Table - Build a Book Catalog Table

Tell us what’s happening:

The last challenge is not passing for some reason.

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>
      <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>
      <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: [number of books in your table]</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/131.0.0.0 Safari/537.36

Challenge Information:

Build a Book Catalog Table - Build a Book Catalog Table

What have you tried to figure out what’s wrong with your code?

I put 20 inside the brackets instead of the text.

Why 20?

I think I could of did a little better with the descriptions etc… but it passes with the number 5.

Please copy & paste the following code and your test shall pass.
code removed by moderator

hi @muhammad.asif.kahn

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge. How to Help Someone with Their Code Using the Socratic Method

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

  1. The td element in your tfoot element’s row should have the text Total Books: [number of books in your table].

hi @sigosir if you have a question about this challenge you should open your own topic to ask for help

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Get Help > Ask for Help button located on the challenge.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

it already exist and solved but didnt get it, please help

open your own topic, do not ask here