Question: ```
<div class="cart-singel">
    <div class="div-1">
        <i class="fa fa-trash" aria-hidden="true"></i>
    </div>
    <div class="div-2">
    </div>
</div>

<div class="cart-singel">
    <div class="div-1">
        <i class="fa fa-trash" aria-hidden="true"></i>
    </div>
    <div class="div-2">
    </div>
</div>

```

When click i(fa-trash) it's need to hide it's parent cart-singel div.

Answer: 
You can use the `.parents()` method in jQuery, like this

```
$('.fa-trash').click(function(){
    $(this).parents('.cart-singel').hide();
})

```
```
$("i.fa-trash").on("click",function(){
    $(this).closest("div.cart-singel").hide();
});

```