Why do we need to have a blank line in first example?
In the first example after the min-height, he double spaces and skips a line. I thought he did this by mistake or maybe just because he wanted to. When I entered WorkSpace and didn't include that empty line after the min-height, my code didn't work properly. When I do add the empty space all of a sudden it works. I was wondering why that is?
It should not be a problem giving space. Maybe you have not used the display property. It always helps to post your code here for us to check. When you work with:
justify-content: center; align-items: center;
You must always use a display property with a value of flex. Like this:
display: flex; justify-content: center; align-items: center;