Skip to content

This PR introduces a new “Hint” feature to the SQL Mysteries interface to help users progress when they are stuck.#49

Open
Akanksh765 wants to merge 3 commits into
NUKnightLab:masterfrom
Akanksh765:master
Open

This PR introduces a new “Hint” feature to the SQL Mysteries interface to help users progress when they are stuck.#49
Akanksh765 wants to merge 3 commits into
NUKnightLab:masterfrom
Akanksh765:master

Conversation

@Akanksh765

Copy link
Copy Markdown

What’s Added:

*A Hint button in the UI
*A modal popup that displays a random helpful hint
*New styling in main.css for button and modal

Clean, reusable JS logic for showing/closing hints

Why This Feature?

SQL Mysteries is popular among beginners and students. A built-in hint option gives gentle guidance without revealing full solutions, improving the overall learning experience.

Files Updated:

*index.html – Added Hint button + modal container
*main.js – Added hint logic
*main.css – Added styling for button + modal

Added a hint feature with CSS and JavaScript to provide users with hints while solving the SQL Murder Mystery.
Refactor setdiff and arraysEqual functions for clarity. Added hint feature with buttons to show and reset hints.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant