How did Hayley Williams write her songs?

Hayley says she doesn't need to write about drugs, sex, money, etc. she doesn't need to swear just to appeal to an older audience. she likes to write her songs about real life problems.