title: Bootstrap Set Up Errors: Uncaught ReferenceError: jQuery is not defined & Uncaught Error: Bootstrap's JavaScript requires jQuery
body: <p>I am creating a bootstrap template.  I am getting two errors, I can't figure out what I am doing wrong.  When I search for similar issues, it seems to be the scripts are out of order, but I think they are correctly positioned.</p>
  
  <p>THE TWO ERRORS: </p>
  
  <p>Uncaught ReferenceError: jQuery is not defined </p>
  
  <p>Uncaught Error: Bootstrap's JavaScript requires jQuery</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;meta charset="UTF-8"&gt;
  
  &lt;!--IE Edge meta Tag--&gt;
  &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
  
  &lt;!--Viewport--&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
  
  &lt;!--Minified Bootstrap CSS from MaxCDN--&gt;
  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous"&gt;
  
  &lt;link rel="stylesheet" type="text/css" href="css/custom.css"&gt;
  
  &lt;title&gt;Bootstrap 3.3.5&lt;/title&gt;
  &lt;meta name="keywords" content="keywords, go, here"&gt;
  &lt;meta name="description" content="meta description goes here"&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  &lt;h1&gt;header&lt;/h1&gt;
  &lt;p&gt;Lorem ipsum dolor sit amet, an numquam platonem abhorreant mea, nec at eripuit tincidunt accommodare. Ut sit utinam ridens commune. Nec ad stet utroque periculis. Eu eum errem assueverit. Ius vitae definitionem ea.&lt;/p&gt;
  
  &lt;!--jquery CDN--&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"&gt;&lt;/script&gt;
  
  &lt;!-- Bootstrap's JavaScript --&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"&gt;&lt;/script&gt;
  
  &lt;!--link to local js file--&gt;
  &lt;script type="text/javascript" src="js/script.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>