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

Module 2 - Week 4 - Day 2: Peer to Peer Code Review 💬 #8

Open
1 task
ahmedeid6842 opened this issue Jun 20, 2023 · 0 comments
Open
1 task

Module 2 - Week 4 - Day 2: Peer to Peer Code Review 💬 #8

ahmedeid6842 opened this issue Jun 20, 2023 · 0 comments

Comments

@ahmedeid6842
Copy link

Hi @Alibaba2023

Great work so far, my friend! 👏 Your hard work and progress are clearly visible, particularly in the impressive use of JavaScript classes and local storage to manage the bookshelf data. This demonstrates a solid foundation to build upon. 👍

However, to meet all the project requirements, there are a few issues that need to be addressed. 🤔 I have no doubt that you're more than capable of resolving them. 💪

done

To highlight 🌟 🎯

  • Impressive use of JS `classes` to split the methods. 🏆
  • Clever utilization of webpack for build optimization. 🛠️
  • Well-organized `LocalStorage` for efficient task list management. ✔️
  • Implementation of GitHub Workflows for streamlined development. :octocat:

Needed modifications ♻️

At /src/task.js 👀

  • Please consider adding an if condition to check that the given index is within the range of available tasks at the removeTask method.

This can help prevent errors from occurring if the index is out of bounds. Keep up the good work!
suggested code

removeTask(index){
  if (index >= 0 && index < this.allTask.length) {
     // your code
  }
}

Awesome job, my friend! 👏 👏 👏 Keep up the fantastic work and enjoy coding! 💪 👨‍💻 Wishing you all the best on your coding journey, cheers!

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

1 participant