Back to Freecodecamp

Step 5

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

latest1.0 KB
Original Source

--description--

Now that you have completed the head section, it is time to add the <dfn>table body</dfn>, tbody. The table body will represent all of the student names and their grades.

Add a table body element to your table.

--hints--

You should have an opening tbody tag.

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

You should have a closing tbody tag.

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

Your opening tbody tag should come before the closing table tag.

js
assert.match(code, /<tbody>[\s\S]*<\/tbody>/i);

--seed--

--seed-contents--

html
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Calculus Final Exams Table</title>
    <meta charset="UTF-8" />
  </head>
  <body>
    <table>
      <caption>
        Calculus Final Exam Grades
      </caption>

      <thead>     
        <tr>
          <th>Last Name</th>
          <th>First Name</th>
          <th>Grade</th>
        </tr>
      </thead>
      
--fcc-editable-region--
      
--fcc-editable-region--
    </table>
  </body>
</html>