Tell us what’s happening:
I am on step 37. Not sure how to use the :first-of-type.
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* User Editable Region */
h1 .flex span:first-of-type {
font-size: 0.7rem;
}
/* User Editable Region */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
Challenge Information:
Build a Balance Sheet - Step 37
Github Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-balance-sheet/62015a5da1c95c358f079ebb.md at main · freeCodeCamp/freeCodeCamp · GitHub
dhess
May 6, 2026, 3:51pm
2
Hi @MoneyManwill ,
What unit were you asked to set font-size to?
Happy coding!
Sorry I am confused by your comment. It says target the first span in my .flex class. I think that is what I have targeted, but I am not targeting it right.
dhess
May 6, 2026, 3:55pm
4
You are targeting it correctly as shown in the instructions. But you are not setting font-size to the correct value.
Oh I figured it out. I got a little confused. Thank you for your help