score:0

try to add onclick handler to button like this:

<button classname="btn btn-danger" onclick={handlecompleteclick}> delete </button>{" "}

Related Query

More Query from same tag