Learn CSS Transforms by Building a Penguin - Step 74

Tell us what’s happening:

Hello!!
in step Step 74 I’m asked to:
Target the .shirt element, and set its font-size to 25px, font-family to Helvetica with a fallback of sans-serif, and font-weight to bold.

And I’m getting this error:
You should give .shirt a font-family of --fcc-expected--, but found --fcc-actual--.
I think it is strange, unless you want me to set a value in the ::root called --fcc-actual instead and use it in .shirt selector.

Is there an error I’m not seeing?

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

.shirt{
    font-size: 25px;
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0

Challenge Information:

Learn CSS Transforms by Building a Penguin - Step 74

You do not need quotation marks around Helvetica, it’s a generic font name, and both are generic font names.

oops!
I forgot, it is just for multiple-word font names or special ones.
It worked, thank you!!!

1 Like

If you open the console you see the hints correctly substituted with the values

image

1 Like