I'm having an issue with my navigation bar on the home page. The three lines in the navbar do not click, open, or display any links. I believe I need to include some JavaScript code to make this functionality work. Here is a screenshot of the problem: https://i.sstatic.net/vnv8H.png
When those three lines are clicked, they should expand and show the available links. Here is an example of what it should look like: https://i.sstatic.net/6YJnQ.png
Despite researching on Stack Overflow and trying various methods like loading Bootstrap CDN, saving and linking JavaScript files, none of them seem to fix the issue. The CSS files load correctly, but it seems that there might be a problem with how the JavaScript is being handled.
Below is a snippet of the HTML file where the issue arises:
{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../favicon.ico">
<title>Album example for Bootstrap</title>
<link href="{% static 'css/album.min.css' %}" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="{% static 'css/album.css' %}" rel="stylesheet">
<!-- jQuery (necessary for Bootstrap's JavaScript plugins)-->
<script href="{% static 'js/jquery.js' %}" ></script> <!--jquery-->
<!-- <script href = "{% static 'js/collapse.js' %}"></script>
<script href = "{% static 'js/dropdown.js' %}"></script> -->
</head>
<body>
...
In addition, here is a portion from my settings file related to this problem:
STATIC_URL = '/static/'
STATICFILES_DIRS = (
os.path.join(os.path.abspath(os.path.dirname(__file__)), "static",),
)