A crib should never sit in front of a window (source). Your child could get caught in curtains, cords from a blind, or other window coverings. There is also a danger your little one will climb before you’re aware they can and fall through or from the window (source).