I have 3 boys and 1 girl.
The boys all less than 2 years age gap between each boy, and between ds3 and dd over 2 year age gap. Didn't do much differently, only limited in eating take out (of I did have take out it was only Chinese lol)
My parents had 4 girls 1 boy.
My sister had a girl
My other sister had two girls.
Dh's parents had 2 boys (he has a half sister too)
Dhs sister had boy and girl
And dhs brother had two girls.
It's completely random but I think sometimes maybe two people are more swayed to have more chance of conceiving a certain gender (but still have a chance of the other just the luck of the draw I suppose)
Bookmarks