Valentine’s Day is always an awkward day for me. I never know how to respond to this day. Part of me is a cynic when it comes to this day. Why do we all of the sudden get romantic on one day of the year? What do we do for the rest of the year? But then, another part of me likes this day and I appreciate all the sentiments that I have gotten today. It’s awkward for me, but I do appreciate it.
Coding today was mostly an extension of what I learned yesterday. The more we get into coding, I’m finding myself a little overwhelmed. I’m noticing if I break down the instructions that it helps me. A few things that I have learned today:
::before Selector: Select everything before an element and give it a property. Such as:
To prevent unnecessary repetition, target the before
pseudo-element of the p
element.
p::before {}
The usage of Flexbox. Such as:
Tidy up the header
, by using Flexbox to put space between the children, and vertically center them. Then, fix the header
to the top of the viewport.