add a delete.js into the main.js folder and link it to the index.html in order to create a delete button