flask and javascript code example
Example: how to add js in flask
<script src="{{url_for('static', filename='js/modernizr-2.6.2.min.js')}}"></script>
<script src="{{url_for('static', filename='js/modernizr-2.6.2.min.js')}}"></script>