1. In index.html create an anchor tag that just shows a ✘ character next to each post.  (you can copy and paste this).

When you click on it, it should delete the post from the database and redirect the user to the home page.

You will need to create a DELETE route at the path /delete/<post_id>

e.g.


SOLUTION


COMPLETED PROJECT CODE