Could someone me understand what the difference is between having a period in front of the “h” and not having one? For example the h1 line does not require is but the menu one did.
The period marks the selector as a class selector, meaning that you’re going to style all elements with a certain class (for example “menu”) regardless of the type of element this is.
Without the period, it’s an element selector, meaning you’re styling all x elements (x being replaced by h1, h2, p…).