Skip to content

JavaScript best Practices-Exercise #6

@saluumaa

Description

@saluumaa

There are some issues with this project kindly consider fixing them:

  1. const editTodo = (todoId) => {
    This function is doing two tasks, kindly try to fix it by taking the task description event outside of the function and link them.
  2. listContainer.addEventListener('click', (e) => {
    This event listener has many comments inside it, please get rid the inline comments for a clean code.
  3. function checkTodo(todoId) {
    Kindly try to adjust this block of code and use ES6 arrow function instead of normal function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions