how does Nacl use electrons to make a bond. (ionic compound)

how does water use electons to make a bond (covalent compund)

Water doesn't use electrons to make a bond. Two hydrogen atoms and one oxygen atom share electrons to make two bonds; i.e., one each between a hydrogen atom and the oxygen atom. You are correct that both of these bonds are covalent.