python flask html js script code example
Example 1: where to put js files in flask
<script src="{{url_for('static', filename='somejavascriptfile.js')}}"></script>
Example 2: how to add js in flask
<script src="{{url_for('static', filename='js/modernizr-2.6.2.min.js')}}"></script>