Question: why 2 spaces after a period?
Answer: The extra space was needed to delineate the beginning of a new sentence because the spacing between words was uneven on a typewriter. If you didn't learn to type on a typewriter, you're likely using two spaces after the period because you're modeling the writing of someone who did learn to write on a typewriter.