Bedrooms must have at least two electrical outlets or one electrical outlet and one permanently installed ceiling or wall light fixture. There must be at least one window and it must open and close properly if it was designed to open. There must be an alternate means of exit from the room in case of fire such as an openable window or a door opening onto a fire escape.