Flask-Workshop/templates/evens.html

14 lines
325 B
HTML

<html>
<head>
<title>{{ title }}</title>
</head>
<body>
{% for number in numbers %}
{% if number % 2 == 0 %}
<b style="color:limegreen">{{ number }}</b>
{% else %}
{{ number }}
{% endif %}
{% endfor %}
</body>
</html>