ReferenceError: b87b is not defined at HTMLButtonElement.onclick
I’m struggling with the problem when trying to use the fecth() in JS.
I’m using the Mock API to practice with the fetch api. I defined a handleDeleteJob() function for onclick event in button to remove the DOM element and send a “DELETE” method to delete data. However it just work with the id when it is a number. With the id is a string, it’ll show that ‘id’ is not defined