Untitled

mail@pastecode.io avatar
unknown
plain_text
5 days ago
1.1 kB
2
Indexable
Never
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>To-Do Application</title>
    <link rel="stylesheet" href="css/styles.css">
</head>
<body>
    <header>
        <nav>
            <div class="logo">To-Do List</div>
        </nav>
    </header>

    <main>
        <section class="todo-container">
            <h1>Manage Your Tasks</h1>

            <!-- Form to add a new task -->
            <form id="todoForm">
                <div class="input-group">
                    <input type="text" id="todoInput" placeholder="Add a new task..." required>
                    <button type="submit">Add Task</button>
                </div>
                <span id="error-message"></span>
            </form>

            <!-- Task list -->
            <div id="taskList" class="task-list">
                <!-- Tasks will be rendered here dynamically -->
            </div>
        </section>
    </main>

    <footer>
        <p>&copy; 2024 To-Do Application</p>
    </footer>

    <script src="js/script.js"></script>
</body>
</html>
Leave a Comment