Added a vocab page

This commit is contained in:
Nico Melone
2025-02-22 20:16:37 -06:00
parent 8fa85cf165
commit 7241f7fd0e
5 changed files with 1175 additions and 1 deletions

View File

@@ -17,6 +17,7 @@
<a href="{{ url_for('get_weather') }}">Weather</a>
<a href="{{ url_for('rank') }}">Relative Rank</a>
<a href="{{ url_for('motion') }}">Motion Graphics</a>
<a href="{{ url_for('vocabulary') }}">Vocabulary</a>
<a href="{{ url_for('about') }}">About</a>
</nav>
</header>

20
templates/vocabulary.html Normal file
View File

@@ -0,0 +1,20 @@
{% extends "base.html" %}
{% block content %}
<h1>Japanese Vocabulary</h1>
<table>
<thead>
<tr>
<th>Japanese</th>
<th>English</th>
</tr>
</thead>
<tbody>
{% for japanese, english in vocab_list %}
<tr>
<td>{{ japanese }}</td>
<td>{{ english }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}