For example:
<div class="list-container">
<p>hello<p>
<p>hello<p>
<p>hello<p>
<p>hello<p>
</div>
How to get that last child element? I would like to point out that the children elements are dynamically created and keep increasing or decreasing according to the user's whim. And I want to be able to pick the last child every time this happens. That's why I ask. Plz, share me the syntax. Thank you.