Why does my door not latch shut?

How do you fix a door that doesn't latch?

https://www.youtube.com/watch?v=WCngCDNs83o

Why does my door not latch shut?

When a door latch won't catch, it's because the latch doesn't align with the hole in the strike plate. Sometimes you can clearly see the misalignment. If not, do the “lipstick test.” Smear lipstick on the latch and stick masking tape to the strike plate.