I can't figure out how to check if I click on one of elements inside the wrapper then that element is really child of the wrapper!!! I used event.target to detect where I'm clicking. I need to understand how to traverse through DOM!!!
<div class="task">
<span class="task-time">
Tomorrow
</span>
<div class="task-name">
<span>
Buy milk
</span>
</div>
</div>
Sorry for my bad English I really don't know how to correctly ask this question I hope you will understand!!!