[Fixed]-The jQuery file not getting loaded in Django

1👍

✅

HTML’s link is used to load stylesheetCSS not JavaScript file.

You have to load javascript with script tag.

so like this:

<script src="{% static 'js/main.js %}"></script>

REF: https://developer.mozilla.org/en/docs/Web/HTML/Element/script

Leave a comment