enter image description hereI have a close button on my alert but when I click on it it doesn’t close. I have seen similar people with the same problem but none of the solutions have worked for me
This is what I currently have
{% for message in messages %}
<div class="container-fluid p-0">
<div class="alert {{ message.tags }} alert-dismissible fade show" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
{{ message }}
</div>
</div>
{% endfor %}
New contributor
toure kompa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.