Hydrogen and sulfur are both nonmetals, and so they SHARE electrons to form covalent bonds (this makes it a covalent aka MOLECULAR compound). Sulfur needs two extra electrons to complete its valence shell, and Hydrogen just needs one (it is an exception to the octet rule). Two single bonds are formed and the molecule is AX2E2, nonlinear, bent.