Tell us what’s happening:
This is failing on Test #13, but I have 5 books and the text inside the td element in the tfoot row is : Total Books: 5, so I don’t understand why the test is failing. Anyone see anything I’m missing here?
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>1984</td>
<td>George Orwell</td>
<td>Dystopian fiction</td>
<td>1949</td>
</tr>
<tr>
<td>10% Happier</td>
<td>Dan Harris</td>
<td>Self help nonfiction</td>
<td>2014</td>
</tr>
<tr>
<td>The Da Vinci Code</td>
<td>Robert Langdon</td>
<td>Mystery fiction</td>
<td>2003</td>
</tr>
<tr>
<td>The Road</td>
<td>Cormac McCarthy</td>
<td>Dystopian fiction</td>
<td>2006</td>
</tr>
<tr>
<td>Wild</td>
<td>Cheryl Strayed</td>
<td>Nonfiction memoir</td>
<td>2013</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/134.0.0.0 Safari/537.36 Edg/134.0.0.0
Challenge Information:
Build a Book Catalog Table - Build a Book Catalog Table