π Welcome to the Dynamic To-Do List Web Application project! Manage your tasks with ease using this sleek and responsive web app.
β Add To-Dos: Easily add new tasks with titles and descriptions.
β Pending and Completed Lists: Organize your tasks into two sections, "Pending" and "Completed," for a clear overview.
β Dynamic Updates: Tasks transition to the "Completed" section when marked as done.
β Stylish Design: A modern design with a calming color scheme.
β Responsive: Works seamlessly on any device.
β HTML Structure: The HTML structure defines the layout, input forms, and the two main sections: "Pending" and "Completed."
β CSS Styling: CSS is used for styling the application, making it visually appealing and responsive. It includes various CSS properties for layout, color, and element positioning.
β JavaScript Logic: JavaScript is the heart of the app's functionality. It manages user interactions, updates the task lists, and handles the dynamic transitions between the "Pending" and "Completed" sections.
π The createTodo function is responsible for generating the task items, including the title, description, and checkboxes for marking tasks as complete.
π The handleInput function is triggered when users submit a new task. It validates the input, creates a task item, adds it to the pending list, and updates the display.
π The displayTodos function refreshes the displayed task lists in real-time. The updateVisibility function manages the visibility of messages like "No pending To-Dos" and "No completed To-Dos" based on the number of tasks in each section.
π Event listeners are utilized to respond to user actions, such as clicking the "ADD TO-DO" button or marking tasks as complete.