Trying to write. a function that will remove item when unchecking the checkbox. It should iterate through the corresponding array and then remove the item.