I've been running into a a few problems getting my twitter bootstrap to work properly on my Django site. Currently my twitter bootstrap partially works.
For example, my HTML file is:
<!DOCTYPE html>
{% load staticfiles %}
<head>
<link rel="stylesheet" href="{% static "bootstrap/css/bootstrap.min.css" %}" type="text/css" media="screen" />
<script type="text/javascript" src="{% static "bootstrap/js/bootstrap.min.js" %}" ></script>
</head>
<html>
<body>
<span class="badge badge-success" >HI!</span>
<span class="badge">1</span>
<span class="badge badge-warning">4</span>
<span class="badge badge-important">6</span>
<span class="badge badge-info">8</span>
<span class="badge badge-inverse">10</span>
</body>
</html>
This code will display badges, however the color of the badges is not displayed. Only a grey badge with some text in each of them is displayed. I ran my code and checked it with FireBug and it said:
Uncaught ReferenceError: jQuery is not defined bootstrap.min.js:6
I assume that I am missing jQuery in this project.
Could someone provide a step by step process on how to fix the issue? I'm new to web development. Thank you for all the input! Much appreciated!