NEEEEEDD HELP!CHEMISTRY

1. H2O
A water molecule consists of two atoms of hydrogen linked by covalent bonds to the same atom of oxygen. Atoms of oxygen are electronegative and attract the shared electrons in their covalent bonds
How to differentiate between ionic and covalent bonds ?
There is a couple different ways to determine if a bond is ionic or covalent. By definition, an ionic bond is between a metal and a nonmetal, and a covalent bond is between 2 nonmetals. So you usually just look at the periodic table and determine whether your compound is made of a metal/nonmetal or is just 2 nonmetals.