Jquery and IP based weather

Hi there,

Im pretty new to jekyll. I am having a hard time getting Jquery to function or really any javascript script. I want to find a way to make this script run on the index.html basically but no matter where i put it i dont get anything.

   <script type="text/javascript" src="jquery.simpleopenweather.js">   </script>
   <script type="text/javascript">
 $(document).ready(function() {
$.get("http://ipinfo.io", function (response) {
    $("#weather").attr('data-simpleopenweather-city', response.city).simpleopenweather({template: '<h2>'+'{{temperature}} '+'&deg;'+'C'+'<h2>', units: 'metric'});
}, "jsonp");
});

I don’t see this as related to jekyll.

Your src looks a little weird, I assume there is a file actually named that at the root? and are you also importing jquery?