I advise you to use artificial intelligence to create codes and deal with them to solve code problems. Artificial intelligence made me leaps forward and accelerated my processes in creating codes quickly and solving problems.
e.g.
Explanation of the Problem:
The issue happens because:
There are no <tr> tags wrapping each row.
You’re placing <td>s directly without defining which data belongs to which row.
Also, the table is missing a <thead> section to display column headers.
Solution:
To fix the layout and add column names:
Use the {{{records}}}...{{{/records}}} block to loop through rows.
Add <tr> inside that block to wrap each record.
Add a <thead> section with <th> elements to define the column headers.