[Answered ]-Cannot find JavaScript script file from HTML file script

1👍

Create static folder in your root directory add this line to settings.py

STATIC_URL = '/static/'

And load STATIC in your html file and use static to load the javascript files.

{% load static %}


{% static 'js/doggies.js' %}

Leave a comment