Skip to content

Incorrect capitalization in asset path causing potential 404 errors for video backgrounds #47

@Aditya8369

Description

@Aditya8369

Description: Multiple HTML files (index.html, about.html, contact.html, projects.html, contribute.html) reference video files with path src="Assest/butterfly.mp4", but the directory is named Assest/ (missing 's' in "Assets"). Browsers are case-sensitive on some systems, and "Assest" != "Assets", leading to broken video playback and console errors. Confirmed butterfly.mp4 and butterflygif.mp4 exist in Assest/.
Files affected: index.html, about.html, contact.html, projects.html, contribute.html, mini-project-guidelines/index.html (uses ../Assest).

Steps to fix:

  1. Rename folder from Assest/ to Assets/ using file explorer or execute_command: ren Assest Assets.
  2. Update all src="Assest/butterfly.mp4" to src="Assets/butterfly.mp4" using edit_file tool (21 occurrences across 7 files).
  3. Test by opening index.html in browser and checking Network tab for 404s.

Metadata

Metadata

Assignees

Labels

jwocThis project is under jwoc

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions