It shall be unlawful for the parent, guardian or other person having custody or control of any child under the age of 18 years to permit, or by insufficient control, to allow such child to be in or upon the public streets or any other places listed in section 24-20 within the county between the hours of 11:00 p.m. on any day and 6:00 a.m. the following day, or on Fridays or Saturdays between the hours of 12:00 midnight and 6:00 a.m. the following day, except in circumstances set out in section 24-20.