@Shivanshvohra
Posted
nicely done way better than mine...want to know if focus property should have been used or is hover the right one
@KhaledElOrbany
Posted
@Shivanshvohra I guess hover is more suitable for our case. You can refer to: https://shorturl.at/euHKW
Hover is 'true' when the mouse pointer is over an element. Focus is true if the cursor is in that element.