Back to Freecodecamp

Step 1

curriculum/challenges/english/blocks/workshop-final-exams-table/66a9b48a211a73155621d0df.md

latest904 B
Original Source

--description--

In this workshop, you will practice working with HTML tables by building a final exam table for a group of students.

In previous lessons, you learned how to work with the table element to represent tabular data.

Inside your body element, nest a table element.

--hints--

You should have an opening table tag.

js
assert.match(code, /<table>/i);

You should have a closing table tag.

js
assert.match(code, /<\/table>/i);

Your table element should be inside your body element.

js
const tableEl = document.querySelector('table');
assert.strictEqual(tableEl?.parentElement?.tagName, 'BODY');

--seed--

--seed-contents--

html
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Calculus Final Exams Table</title>
    <meta charset="UTF-8" />
  </head>
  <body>
--fcc-editable-region--
    
--fcc-editable-region--
  </body>
</html>