Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Refactor JS code to separate .js files #15

Open
arcane-engine bot opened this issue Aug 30, 2024 · 0 comments
Open

🚀 Refactor JS code to separate .js files #15

arcane-engine bot opened this issue Aug 30, 2024 · 0 comments

Comments

@arcane-engine
Copy link
Contributor

arcane-engine bot commented Aug 30, 2024

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

  1. Create a static/js directory if it doesn't exist.
  2. Move any inline JavaScript from the HTML templates to separate .js files.
  3. Ensure that the HTML templates reference the new .js files correctly.

Affected Files

  • templates/base.html.jinja2
  • templates/index.html.jinja2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants