I don't get why H2O has covalent bonds. I mean I know one way to find out if it's ionic or covalent is to find H and O's electronegativity, but if I just think about it, i think it''s ionic because H tends to lose electron, so both H give two electrons to O, and fill all the shells of O. so y it's covalent?
Thanks