addClass('active');
      });

      $('.todo-nav .active-task').click(function () {
        let $todoList = $('.todo-list')
        $todoList.removeClass('only-complete');
        $todoList.addClass('only-active');
        $('.todo-nav li.active').removeClass('active');
        $(this).addClass('active');
      });

      $('.todo-nav .completed-task').click(function () {
        let $todoList = $('.todo-list')
        $todoList.removeClass('only-active');
        $todoList.addClass('only-complete');
     