You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, all JavaScript code resides within the HTML templates. To improve maintainability and organization, we need to refactor the code so that all JavaScript lives in separate .js files under the static/js directory.
Tasks
Create a static/js directory if it doesn't exist.
Move any inline JavaScript from the HTML templates to separate .js files.
Ensure that the HTML templates reference the new .js files correctly.
Affected Files
templates/base.html.jinja2
templates/index.html.jinja2
The text was updated successfully, but these errors were encountered:
Currently, all JavaScript code resides within the HTML templates. To improve maintainability and organization, we need to refactor the code so that all JavaScript lives in separate
.js
files under thestatic/js
directory.Tasks
static/js
directory if it doesn't exist..js
files..js
files correctly.Affected Files
templates/base.html.jinja2
templates/index.html.jinja2
The text was updated successfully, but these errors were encountered: