I always cringe when someone asks this question.
Mostly because I spent a number of years asking this exact question. And I'm a woman. For the life of me, I could not write about women, not well.
Men? No problem. I got men. I understood men. I did not understand women. (Note again, I am a woman.) Oh, I understood my women friends, but they were like me: Not Like Women.
And then I realized that I had swallowed wholesale the idea that "Women" were some other thing than "people" or "men".
I understood men because in fiction and in media and in life, there are tons of different kinds of men and they're individuals. They had various interests, did various things, had various hopes and dreams.
As for women... well, they weren't interested in the stuff I was interested in. Women are all timid and not into science and into makeup and cheerleading and dresses and hate books, and are vapid, and are blonde and blue-eyed, only interested in rich men, etc. etc. Women weren't adventurers or scientists or smart, or...
Yeah. So I viewed myself as Not A Real Woman, as a defective women. I didn't understand women because I was not what society taught me that women were. The problem, I thought, lay with me.
Turns out, all that crap we're fed about what women are and how different they are from men and people... is UTTER AND COMPLETE BULLSHIT.
Which is why all the advice you're getting is about writing women as humans. As individuals.
We are different and varied, just like men.
Once I realized I was actually a typical woman because THERE IS NO TYPICAL WOMAN, I suddenly could write as strong women characters as I could write men characters.
Women are not aliens. We're human.
I don't blame you, though. Society has pretty much taught us the opposite.