This is a simple Task Manager application designed to help you practice your debugging skills. The application has several intentional errors in the HTML, CSS, and JavaScript files that you need to identify and fix.
When working correctly, the Task Manager should:
- Allow users to add new tasks with a priority level (High, Medium, Low)
- Display tasks in a list with appropriate styling based on priority
- Allow users to mark tasks as complete (which adds a strikethrough)
- Allow users to delete tasks
- Filter tasks by priority level
- Show notifications when tasks are added, completed, or deleted
- Store tasks in localStorage so they persist between page refreshes
- Header: Title and description of the application
- Add Task Form: Input field for task text, dropdown for priority selection, and submit button
- Task List: Display of tasks with completion and delete buttons
- Filter Buttons: Buttons to filter tasks by priority
- Notifications: Temporary notifications for user actions
- Enter a task in the input field
- Select a priority from the dropdown
- Click "Add Task" button to add the task to the list
- Use the checkmark button to toggle task completion
- Use the "×" button to delete a task
- Use the filter buttons to show tasks of specific priority levels
index.html- The structure of the applicationstyle.css- The styling for the applicationscripts.js- The functionality of the application
Find and fix all the errors in these files to make the application work as expected. The errors include syntax errors, logical errors, typos, and other common mistakes that developers encounter.
Good luck with your debugging practice!