I am learning CSS, and I often get confused about where I should define styles, i.e., in the parent or the child element. Please have a look at the code below