While I'm working outside of a Django file, everything runs smoothly with JavaScript reading classes and IDs like:
document.querySelector('.class_name').addEventListener
However, when loaded within Django projects, an error occurs stating that the event listener cannot read NULL.
{% comment %} CSS file for contacts.html {% endcomment %}
<script type="text/javascript" src="{% static 'info/js/for_recrs.js' %}"></script>
<link href="{% static 'info/css/for_recrs.css' %}" rel="stylesheet" type="text/css" />
{% endblock %}