Basements shall not be deemed habitable unless all of the following conditions shall be met: Such room shall be at least seven feet six inches in height in every part from the finished floor to the ceiling. Ceilings of such rooms shall be at least three feet six inches above the surface of the street, alley, yard or court adjoining the same. There shall be appurtenant to such room if used for sleeping purposes the use of a water closet. Every room shall have a window or windows opening upon the street, an alley or upon a yard or court. The total area of windows in every room shall be at least one-eighth (1/8) of the floor area of the room, and the sash shall be made to open the full width, and the top of each window shall be within six inches of the ceiling. All exterior walls surrounding such room shall be dampproof. The floor of such room shall be dampproof and waterproof.