$${W_g = mg d \cos 90^\circ = mgd(0) = \underline{\underline{0}}}$$