0
I’m a beginner in flask and on the front end I have a table that it returns me information from an API, only instead of it throwing information on the table vertically it’s going horizontal, as I do to fix it?
<!doctype html>
<html>
<head>
<title>Minha pagina</title>
<meta charset="utf-8" />
</head>
<body>
<h1>Teste de API</h1>
<br>
<table border = "1">
<tr>
<td align= middle width=100 bgcolor= #DAA520> ID </td>
<td align= middle width=100 bgcolor= #DAA520> TITLE</td>
</tr>
<tr>
{% for i in range(4) %}
<td align= middle width=150>{{data[i] ["id"]}}</td>
<td align= middle width=150>{{data[i]["title"]}}</td>
{% endfor %}
</tr>
</table>
</body>
</html>