jQuery problem: juncaught typeerror: $ is not a function
js problems are all asynchronous problems.
WordPress also loads various js in a certain order. WordPress basically loads its own js first, and then loads its own defined js.
$(function(){})
In this way, if you encounter the following problems
uncaught typeerror: $ is not a function
You can change the way of writing
jQuery(function($){})