Around 500 BC to 300BC did windows cover with glass like today?

how but 300 bc to 20 ad?
if the windows didnt have glass, how people keep their houses warm and prevent snow and rain enter their houses without blocking the light of sun through window?