I approach writing female characters the same why I approach writing male characters. I never think I'm writing about women, I think I'm writing about one woman, one person. And I try to imagine what she is like, and endow her with a lot of my own thoughts and history.
Children are not unforgiving. You can punish them and they will hug you in a few minutes.