I am creating simple jQuery Project, but I am in trouble, I can't figure out how I can solve this problem. I've created three boxes, then I hover around these boxes I want box text to appear, yes it's working, but I want to appear only box text which was hovered (mousseentered), now it appears all of them, for example if I hover on first box, I want to only first box text appear, all the boxes have same class name, and it is needed
$('.three_box_inner').mouseenter(function(){
$('.text').css({
'display':'block',
})
})
.three_box{
display:flex;
}
.three_box_inner{
height:200px;
width:200px;
background-color:red;
margin-left:20px;
}
.text {
display:none;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<div class='three_box'>
<div class='three_box_inner'>
<div class='text'>
text
</div>
</div>
<div class='three_box_inner'>
<div class='text'>
text
</div>
</div>
<div class='three_box_inner'>
<div class='text'>
text
</div>
</div>
<div>