fadeOut() jquery in wordpress not working

this code in ‘script.js’: jQuery(document).ready(function($) { $(‘#close’).click(function(){ $(‘#tofes’).fadeOut(); s1.empty(); s2.empty(); s3.empty(); $(‘#date_div’).empty(); $(“#step-form-2, #step-form-1, #step-form-3”).delay(200).queue(function(){ $(“#step-form-2”).removeClass(“col-md-6 col-md-4”).addClass(“d-none”); $(“#step-form-1”).removeClass(‘col-md-6 col-md-4’).addClass(‘col-md-12’); $(‘#step-form-3’).removeClass(‘col-md-4’).addClass(‘d-none’);…