Categories
Mastering Development

jQuery effect methods don’t work, except hide

I using jQuery 3.5.1 and I have problem with all effect methods, except hide.
I got TypeError “…is not a function”.

Here’s my .js code:

$(".btn").click(function(){
    $("h1").fadeOut();
});

I’m using this jquery:

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

I found few similar problems with solutions, but all of them didn’t work with my case.
I will be grateful for any help.

Leave a Reply

Your email address will not be published. Required fields are marked *