Javascript code doesn’t work in my wordpress theme

First – set jquery in dependencies array. And if you are using libraries – include them.
All libraries must be registered, not enqueue. Use wp_register_script();. And set libs in dependencies array.

wp_register_script('my-masonry', 'path to lib', array(), null, true);
wp_enqueue_script( 'scripts', get_template_directory_uri() . '/assets/js/scripts.js', array('jquery', 'my-masonry'),  null, true );

Code like this must fix your issue.
And also..

Wrap your code in this

(function($){
    // your code
})(jQuery);

instead jQuery(document).ready(function($){});

And use more unique handles (names) for your scripts. Because some plugins can register and enqueue scripts with similar name.

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş