I wrote the sentence below and was told it was incorrect because the word 'personne' is feminine and thus the personal pronouns afterwards should not be masculin even though I was talking about a man.
I wrote this:
Parce qu'il y a une personne qui est végétarienne et il est très drôle...mais il est Américain
She said because we don't know it's a man it should be like this:
Parce qu'il y a une personne qui est végétarienne et elle est très drôle... mais elle est Américaine