Remove unused JS (modal.js, theme-switcher*.js) and fix CSS typos
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- css, javascript, jekyll
- Domain
- frontend
Research direction
Start in assets/js/ and _layouts/base.html, where the issue says modal.js and the unused theme-switcher files are loaded or sit. Remove the modal.js <script> tag and the unused files, then fix the justify-content: top declaration and rename .feautured-topic-links in custom.css and _pages/index.md line 209. Done when a grep finds no remaining references and the Jekyll site still builds.
Written by the indexing model from the issue text.
Description
Summary
Small cleanups in assets/:
assets/js/modal.jsloads on every page, but nothing uses it. No template hasdata-targetor callstoggleModal. Removing it and its<script>tag from_layouts/base.htmlsaves a request and also resolves #95.assets/js/theme-switcher.jsandassets/js/theme-switcher copy.jsaren't used. Onlyminimal-theme-switcher.jsis loaded, and the copy has a space in its filename.- Invalid CSS:
.card, .card-row { justify-content: top; }incustom.css.topisn't a valid value, so browsers drop the declaration. It's either meant to beflex-startor can be deleted. - Typo: the class
.feautured-topic-links(custom.cssand_pages/index.md:209) should befeatured. Rename it in both places.
Evidence (2026-10-14)
grep across _layouts, _includes and _pages found no uses of data-target or toggleModal. base.html only loads minimal-theme-switcher.js, modal.js and navigation.js.
Generated by Claude Code
- Dominant language
- HTML
- Stars
- 1
- Forks
- 6
- Avg merge
- 1d 52m
- Merged PRs (30d)
- 7
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CivicTechTO/civictech.ca
-
accessibility
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CivicTechTO/civictech.ca#192 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
CivicTechTO/civictech.ca#186 ·
-
accessibility
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
CivicTechTO/civictech.ca#184 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
CivicTechTO/civictech.ca#101 ·
-
accessibility good first issue
Difficulty 1/5 Under an hour Newbie friendliness 76/100
CivicTechTO/civictech.ca#97 · 2 comments ·
All issues in CivicTechTO/civictech.ca
Similar issues
-
area: core complexity: trivial impact: low
Difficulty 1/5 Under an hour Newbie friendliness 95/100
ueberdosis/tiptap#8666 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
longbridge/nsh#804 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 13 days
-
Add a dark themeOpengood first issue laravel-appointment-reminders
Difficulty 2/5 1-3 hours Newbie friendliness 82/100