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}} '+'°'+'C'+'<h2>', units: 'metric'});
}, "jsonp");
});