Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature integration : want to add task remaining and task completed feature in task -input #75

Open
RIYAKUMARI001 opened this issue Dec 11, 2024 · 3 comments
Assignees

Comments

@RIYAKUMARI001
Copy link

I want to contribute to this task by enhancing the user experience and making it more interactive and functional. My plan includes dynamically calculating and displaying a task summary at the top and bottom of the task list to give users a clear overview of their progress, such as '5 tasks remaining, 3 completed.' I'll implement this using JavaScript, where I will write a function to count the total tasks and completed tasks in real time. I'll also use event listeners to make the task list interactive, allowing users to toggle tasks as completed or incomplete, and ensuring the summary updates instantly. Additionally, I'll add optional CSS styling and subtle color changes for better clarity. so, please assign this issue to me.

@RIYAKUMARI001
Copy link
Author

RIYAKUMARI001 commented Dec 11, 2024

HTML Code - add two divs for tasks and another one for notes so that checkboxes do not conflict.
Screenshot 2024-12-11 130653
JS CODE - I remove the innerHTML part because When we are adding a new task to the task list, the checkbox element () overwrites using the innerHTML assignment. This causes the checkbox to disappear since innerHTML replaces all the previous child elements of the parent.
so, instead of this I create and append the elements manually to avoid overwriting.
Screenshot 2024-12-11 230336
Screenshot 2024-12-11 230354
CSS- I define separate CSS for textarea and task-input-container
Screenshot 2024-12-11 231233
added - CSS for checkbox change the color to green and add CSS for completion if the task is completed then add text decoration, and also add responsiveness for task input.
Screenshot 2024-12-11 231345
Remove delete button- I remove another button because it affects other buttons, rather than that I explicitly add padding to delete and edit buttons.
Screenshot 2024-12-11 231916
ADD design for the summary -task completed and remaining.
Screenshot 2024-12-11 132454
Sample Video -

video1328593708.mp4

@rahat2134 please review, and assign this issue.

@Rahat-CP
Copy link
Collaborator

From now try to do all this in a single thread. Means in a single message try to add all the details.

@Rahat-CP
Copy link
Collaborator

Assigning you the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants