Adding a "hint" button to puzzle

Cursor movement

like the 5 boxes in post 33 that spell “stars” how would you make a “hint” button to push to reveal a letter as needed if you get stuck?
Thanks

This is not meant as an answer but maybe as a helper with the CSS for the JS experts to do properly.:slight_smile:

Obviously the hints should be obfuscated in some way.

2 Likes

I mean, it’s not exactly what i’d call a hint so much as giving the answer, but yeah, what Paul’s put up is a perfectly valid solution.
You might be able to do a little finagling of stripping out some of the querySelectors by using previousSibling rather than a full on search, but the foundation’s solid.

1 Like

Wow!!! Awesome!!
Thanks

Why does it say 502 bad gateway when I click on the pen in Post 2?

4 posts were split to a new topic: Drawing a circle inside a square

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.