Flask-Workshop/templates/evens.html

14 lines
325 B
HTML
Raw Permalink Normal View History

2020-11-22 13:41:09 +00:00
<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>