Freeform Writing Exercise A1
It is not specifically the gender of the person that determines agreement but the grammatical gender of the noun - cheveux is invariably a masculine noun, so adjectives describing cheveux always take the masculine form.
Body “parts” generally have invariable grammatical gender.
If I'm not mistaken it all depends on the ending of the noun.
Here use this link it will help
Identifying the gender of nouns by some specific word endings in French
Sign in to submit your answer
Don't have an account yet? Join today
Test your French to the CEFR standard