So, the concept is that the green square should appear when your mouse hovers over the red square, but it's not working as expected. Here's the code snippet:
<html>
<head>
<script type="text/javascript" src="jquery-1.6.2.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("a").bind("mouseover", function(){
$("b").css("display", "block");
});
$("a").bind("mouseout", function(){
$("b").css("display", "none");
});
});
</script>
</head>
<body>
<div class="a" style="background-color: #ff0000; height: 50px; width: 50px;"></div>
<div class="b" style="display: none; background-color: #00ff00; height: 50px; width: 50px;"></div>
</body>
</html>