Concept Flow - Serving JavaScript files
Client requests HTML page
Flask serves HTML with <script> tag
Browser sees <script src="file.js">
Browser sends request for JS file
Flask serves JS file from static folder
Browser loads and runs JS code
This flow shows how Flask serves JavaScript files by first sending HTML with a script tag, then responding to the browser's request for the JS file from the static folder.