Welcome to Puzzle Vault — a small, beginner-friendly web app of riddles and puzzles created for learning and contribution.
- Simple, responsive UI (HTML/CSS/JS)
- Loads puzzles from
puzzles.json - Navigation (Next / Previous), answer checking, and a progress indicator
git clone https://github.com/OpenSource-UIT/Hacktoberfest-25-4.git
cd Hacktoberfest-25-4Open index.html in your browser or serve the folder locally:
- Read the puzzle displayed on the page
- Type your answer and click "Check Answer"
- Use "Show Answer" to reveal the solution (if available)
- Navigate using Next / Previous buttons
- Puzzles not showing: the
showPuzzle()function is currently disabled, so the UI does not populate puzzle text on load. - Show Answer unresponsive: script queries
show-ansbut the button id isshow-answer, so the listener isn't attached. - Check Answer id typo: the Check button in HTML uses
chek-answer(typo) and the script may not find it.
- Progress indicator is invisible:
#progresslacks a visible background color. - Navigation edge-case: Next handler can set
currentIndextopuzzles.length(off-by-one).
- Minor responsive styling improvements suggested for small screens.
Puzzle Vault/
├── index.html
├── style.css
├── script.js
├── puzzles.json
└── README.md
- Open the app (index.html or served)
- Reproduce the issue you fix
- Apply the change, reload, and verify the behavior
- Check DevTools console for errors
- One bug per PR; keep fixes focused
- Add a short description of the change and how you tested it
- Be respectful and provide helpful PR notes
- Fix the
showPuzzle()implementation - Attach the Show Answer listener correctly
- Correct the Check Answer button id
- Make the progress bar visually visible
- Fix navigation boundary logic