diff --git a/curriculum/challenges/english/blocks/lab-book-inventory-app/66a207974c806a19d6607073.md b/curriculum/challenges/english/blocks/lab-book-inventory-app/66a207974c806a19d6607073.md index 842db012f02..48fa64ba78d 100644 --- a/curriculum/challenges/english/blocks/lab-book-inventory-app/66a207974c806a19d6607073.md +++ b/curriculum/challenges/english/blocks/lab-book-inventory-app/66a207974c806a19d6607073.md @@ -54,7 +54,11 @@ assert.equal(document.querySelectorAll('table')?.length, 1); Your `table` element should have five columns. ```js -assert.equal(document.querySelectorAll('th')?.length, 5); +const rows = document.querySelectorAll('tr'); +assert.isNotEmpty(rows); +for (const row of rows) { + assert.equal(row.children.length, 5); +} ``` Your first column should have the text `Title` as the heading.