I want to have a better solution to my problem. Instead of removing the innerText values and hiding the delete button. It\'s leaving space in the form since it\'s not remove