emojiscreen icon indicating copy to clipboard operation
emojiscreen copied to clipboard

Convert hint hover code from jQuery to JavaScript

Open brittanyrw opened this issue 1 year ago • 7 comments

When you hover over the question mark icon on cards, a hint will appear. The code for this is located in the app.js.

Convert the code for this hover feature from jQuery into JavaScript. Only convert this specific section of code.

// Display a hint (type ie tv, movie or musical) when hovering over the question mark.
$("#emojis").on("mouseover", ".hint-container", function () {
  $(this).find(".hint").addClass("hint-reveal");
});

// Hide hint (type ie tv, movie or musical) when the user stops hovering over the question mark.
$("#emojis").on("mouseleave", ".hint-container", function () {
  $(this).find(".hint").removeClass("hint-reveal");
});

brittanyrw avatar Oct 06 '23 01:10 brittanyrw

@brittanyrw please assign this task to me!

shubhalgupta avatar Oct 16 '23 14:10 shubhalgupta

is this issue still open?

0xBlyn avatar Oct 19 '23 17:10 0xBlyn

@brittanyrw has this issue been fixed? i will like to work on it pls

marameref avatar Oct 20 '23 06:10 marameref

@Youngemmy5956 by whom it is fixed? And, why it isn't merged then?

shubhalgupta avatar Oct 22 '23 17:10 shubhalgupta

@Youngemmy5956 by whom it is fixed? And, why it isn't merged then?

Not that it’s approved, What I meant is that I contributed to it and u can check it out

Youngemmy5956 avatar Oct 22 '23 17:10 Youngemmy5956

@brittanyrw please review my PR

shubhalgupta avatar Oct 22 '23 21:10 shubhalgupta

is this issue still open? I want to attempt it. @brittanyrw

SharmaDhruv2511 avatar Dec 04 '23 07:12 SharmaDhruv2511