You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have grouped your test which increases the readability and understandability.
There are just two minor things that you can improve:
1- instead of using querySelector('#list').querySelectorAll('#li') you can use querySelectorAll('#list li') which is shorter.
2- for testing clear all completed tasks functionality, instead of checking whether your list is empty or not, you can test if there is any completed task in your list or not.
The text was updated successfully, but these errors were encountered:
Good job @Saadat123456
Your project looks amazing. to highlight:
There are just two minor things that you can improve:
1- instead of using
querySelector('#list').querySelectorAll('#li')
you can usequerySelectorAll('#list li')
which is shorter.2- for testing clear all completed tasks functionality, instead of checking whether your list is empty or not, you can test if there is any completed task in your list or not.
The text was updated successfully, but these errors were encountered: