Fix: Corrected broken href links in challenges.html#397
Fix: Corrected broken href links in challenges.html#397Roshnicoderr wants to merge 1 commit intoopensource-society:mainfrom
Conversation
Roshnicoderr
commented
Aug 3, 2025
- Resolved 404 issues caused by incorrect href links.
- Updated the challenge tag link in challenges.html.
- Corrected the Home link in the footer to point to the correct path.
- Now all anchor tags navigate as expected without error.
There was a problem hiding this comment.
Greptile Summary
This PR fixes broken navigation links in the pages/challenges.html file that were causing 404 errors. The changes address two specific navigation issues:
- Challenges navigation link: Updated from an absolute path
/challengesto a relative pathchallenges.htmlon line 27 - Footer Home link: Changed from
/to../index.html#topon line 208
These modifications align the navigation patterns with the rest of the codebase's static file structure. The CodeClip application is a static site hosted on GitHub Pages (as evidenced by the deployment workflow), which requires relative file paths rather than server-side routing paths. The footer Home link correction properly navigates from the /pages subdirectory back to the root index.html file and includes the #top anchor for proper page positioning. This ensures consistent navigation behavior across the application's file structure and resolves the 404 navigation issues users were experiencing.
Confidence score: 4/5
- This PR is safe to merge with minimal risk as it only fixes broken navigation links
- Score reflects straightforward link corrections that align with existing codebase patterns
- No files require special attention as the changes are simple href attribute updates
1 file reviewed, no comments