I'm currently working on implementing a mouse-over scale effect for an HTML image. I chose to use JavaScript for this task because I need the ability to manipulate multiple elements in different ways simply by hovering over one element. Below is the JavaScript code that targets the element named "logoF" for manipulation:
$( document ).ready(function() {
var logoF = document.getElementById("#logoF");
logoF.onmouseover=function(){
logoF.style.webkitTransform= "scale(0.8)";
logoF.style.msTransform= "scale(0.8)";
logoF.style.transform= "scale(0.8)";
};
});
For some reason, this code isn't producing the desired effect. I would greatly appreciate any insights or suggestions on what might be causing this issue.