How do you write mouseenter, leave?

$(".help_cover").mouseenter(function(event) {
  $(".layout_help_cover").fadeIn();
});
$(".help_cover").mouseleave(function(event) {
  $(".layout_help_cover").fadeOut();
});

how can I write this code? I think this is the case. There is no other way. Does a god know that he can write again?


$(".help_cover")
.mouseenter(function(event) {
  $(".layout_help_cover").fadeIn();
})
.mouseleave(function(event) {
  $(".layout_help_cover").fadeOut();
});

simplify a little bit

Menu