Why is my JQuery UI slider not appearing?

Why is my JQuery UI slider not appearing?

Hi there

I have been using a different slider plugin but it wasn't quite right and decided to switch to JQuery UI. However the slider does not appear at all. 

Here is my JS:

  1. $(window).load(function(){
  2.    $('#introModal').modal('show');
  3.    $("#result").html("187889"); 
  4.    $("#result2").html("193008");
  5.    $('#calculate').hide();
  6.    $('#calculate2').hide();
  7.    $("#investmentName").html("Example Grant Programme");
  8.    $("#investmentName2").html("Example Social Investment");
  9.    $('#nameyourprogramme').hide();
  10.    $('#nameyourprogramme2').hide();
  11.  });

  12. $(document).ready( function() {
  13.     $('#slider').slider();
  14. });
And here is my html:

  1. <html>
  2. <meta charset="UTF-8">
  3. <br>
  4. <title>The Endowment Calculator</title>
  5. <div class="container">
  6.     <head class="masthead">
  7.       <link href='http://fonts.googleapis.com/css?family=Dosis|News+Cycle|Josefin+Slab|Inconsolata' rel='stylesheet' type='text/css'>
  8.       <h1 class="masthead-heading">The Endowment Calculator</h1>
  9.       <h2 class="masthead-intro">for social impact</h2> 
  10.       <!-- Latest compiled and minified CSS -->
  11.       <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
  12.       <!-- Optional theme -->
  13.       <link rel="stylesheet" type="text/css" href="style.css" media="screen" />
  14.       <link rel="stylesheet" href="jquery-ui.min.css">
  15.     </head>
  16. </div>
  17. <br>
  18. <br>
  19. <br>
  20.   <body>
  21.      ....
  22.               <div class="input" id="slider">
  23.                 </div>
  24.      
  25.       .....

  26.       <script language="javascript" type="text/javascript" src="jquery-1.11.2.js"></script>
  27.       <script src="external/jquery/jquery.js"></script>
  28.       <script src="jquery-ui.min.js"></script> 
  29.       <script src="main.js"></script>
  30.       <script src="calculate.js"></script>
  31.       <script src="calculate2.js"></script>
  32.       <script src="refresh.js"></script>
  33.       <script src="refresh2.js"></script>
  34.     </div>
  35.     
  36.   </body>

  37. </html>

  38. <!-- Latest compiled and minified JavaScript for Bootstrap -->
  39. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
I'm such a beginner and everything had been going really well until this happened. I'd be so grateful for any advice anyone can give!

Thanks and all the best

Polly