Question = To give the penguin body a crest, create a pseudo-element that is the first child of the .penguin-body element. Set the content property of the pseudo-element to an empty string.
I know I need to follow the question but just out of curiosity, can’t I use the :first-of-type pseudo-element rather than ::before? Shouldn’t it be the same?
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Challenge: Learn CSS Transforms by Building a Penguin - Step 38