This project is a basic To-Do List web application that allows users to add tasks, mark them as completed, and delete them. The application is built using HTML for structure, CSS for styling, and JavaScript for functionality.
CSS (styles.css) Styles : Styles are defined for the overall layout, form, input fields, buttons, and task display. The application uses flexbox for layout and styling to create a clean and responsive design. Different styles are applied for task elements, highlighting completed tasks and providing visual cues for user interactions.
Functionality Variables are declared for the input field, submit button, and tasks container. An empty array (arrayOfTasks) is used to store task data. On page load, the application checks for tasks in local storage and retrieves them if available. Event listeners are added to handle adding tasks, marking them as completed, and deleting tasks. Functions are defined for adding tasks to the array, updating the page, and managing local storage. The application dynamically updates the page content based on user interactions. Local Storage Task data is stored and retrieved from local storage to maintain tasks even after a page reload. Feel free to customize this README to provide more details or context specific to your project!