File size: 1,821 Bytes
68ac6f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Simple Todo Application</title>
    <meta name="description" content="A fast and simple vanilla JavaScript Todo list app with add, delete, and mark complete functionality.">
    <meta name="keywords" content="todo, list, javascript, vanilla, frontend, responsive">

    <link rel="stylesheet" href="assets/css/styles.css">
    <!-- Font Awesome Icons (CDN allowed) -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" integrity="sha512-Fo3rlrNjHq3R8UfX3dG1GfW7bX8/r5W7f1Lz6nJt8A4wF6R5Gf3X6S5gL6R5F6GjJ7P3I4f0Q==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
    <header class="header">
        <h1>Vanilla Todo App</h1>
        <p class="branding">
            <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">Built with anycoder</a>
        </p>
    </header>

    <main class="container">
        <section class="todo-input">
            <input type="text" id="new-todo-input" placeholder="What needs to be done?" aria-label="New todo task description">
            <button id="add-todo-btn" aria-label="Add new todo item"><i class="fas fa-plus"></i> Add Task</button>
        </section>

        <section class="todo-list-container">
            <ul id="todo-list" class="todo-list">
                <!-- Todo items injected here by JavaScript -->
            </ul>
            <p id="empty-message" class="empty-message">No tasks yet! Add a new one above.</p>
        </section>
    </main>

    <footer>
        <p>&copy; 2024 Simple Todo App | All rights reserved.</p>
    </footer>

    <script src="assets/js/script.js"></script>
</body>
</html>