12345678910111213141516171819202122232425 |
-
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Today's to-do List</title>
- <style>
- body {
- background-color: transparent;
- color: black;
- }
- </style>
- </head>
- <body>
- <h1>Today's to-do List</h1>
- <ul>
- {% for item in items %}
- <li style="text-decoration: {{ 'line-through' if item.checked else 'none' }};">
- {{ item.name }}
- </li>
- {% endfor %}
- </ul>
- </body>
- </html>
|