响应式web设计课程(表单表格部分的实验室练习):Build a Book Catalog Table

问题报错:你的 tfoot 元素行中的 td 元素应当包含文本 Total Books: N,其中 N 是你表格中的图书数量,以下是问题代码:

<!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>1</td>
      <td>a</td>
      <td>math</td>
      <td>1998</td>
      </tr>
      <tr>
      <td>2</td>
      <td>b</td>
      <td>sport</td>
      <td>2000</td>
      </tr>
      <tr>
      <td>3</td>
      <td>c</td>
      <td>health</td>
      <td>2003</td>
      </tr>
      <tr>
      <td>4</td>
      <td>d</td>
      <td>science</td>
      <td>2017</td>
      </tr>
      <tr>
      <td>5</td>
      <td>e</td>
      <td>nature</td>
      <td>2025</td>
      </tr>
    </tbody>
    <tfoot>
      <tr>
      <td colspan="4">Total Books: N</td>
      </tr>
    </tfoot>
  </table>
</body>

</html>

Welcome to the forum @danny0923 !

...where N is the number of books in your table...

And did you replace N with the number of books in your table?

Happy coding!