- What is a "static" file?
- A static file is a file served by a webserver that is not generated or changed, but just delivered as is to the browser. This is perfect for JS, CSS files, or library files.
- What does the path: prefix mean for a section of a Flask route?
- This can be used to denote that the route section matches a string that may contain slash / separator characters, to put into a variable, like the following example:
...@app.route('/control/<path:control_name>')def control(control_name):...
- What is the unit vw in CSS, and why do we use it?
- vw is an abbreviation for viewport width. It specifies things as a percentage of viewport width. It is used so things can ...