mardi 25 juillet 2017

How to make hovering a button changes background of a different element

Website in Question

What I want to happen is that when someone hovers one of the 3 buttons "Signature Events" "Weddings" "Le Coq d'Or" the background and content of the div above it change. The div above it is static, it's not a slider. Just a styled HTML block.

I've just started getting into JS within the last week or so, and this seems like it could be done with JS switch, but I'm not sure. I don't even know what to search to get info on this.

Thank you!




Aucun commentaire:

Enregistrer un commentaire