Now it is possible to delete notes.

The "delete" functionality has been implemented.
Additionally "console.log" has been added when queries fail so that errors can be kept in a log.