Rules strict on window replacement

Were homeowners victims of up-selling?

Q: We recently replaced windows that were less than 20 years old, and were told that by law they had to put tempered glass in any window above the front door and above the bathtub. So I assume that glass costs more. We also learned that the windows had to be a certain "size" to open for fire reasons so a fireman could come in through the window with his full gear on. So we have one window that is quite "fancy," which both slides and opens out.