Carrot Show Carrot Show - 3 months ago 8
Javascript Question

jQuery not enabling on my website

I have a problem with my website: jQuery is not working.
I load jQuery in head tag before my script .
And it may be associated with .htaccess and permissions on the Web server? If it may, I have the following permissions on the index.php file:

r-xrwxr-- 574


And my site is here, and code is here

...Any ideas about it❓

Answer

See if it would work if you include it at the end of body tag.

Like this:

<body>
    <h1>Your elements</h1>

    <!-- Scripts -->
    <script src="https://code.jquery.com/jquery-3.1.0.slim.min.js"></script>
    <script>Put your script here.</script>
</body>

If it still doesn't work. Maybe try different jquery links. Like this one https://code.jquery.com/jquery-3.1.0.min.js