how to set js file in flask app code example
Example 1: where to put js files in flask
<script src="{{url_for('static', filename='somejavascriptfile.js')}}"></script>
Example 2: add js to you flask
Bundling JavaScript and CSS Files in Flask Using Flask ...