To connect jQuery, you need to comment out the code in the head
//- script(src="js/jquery-3.6.0.min.js", defer)
//- script(src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.slim.min.js" integrity_no="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous")