How to make typing effect in jquery that only animate elements that are currently shown at screen (since the html file contains many elements but most will be hidden and only some be visible one at a time within one Scene <span id>) with <h1> shown first with only fadeIn animation, then after ones finished, the first <p> shown with typing animation, then followed with the next <p> after (and then also third, four, five paragraph if they are exist)?
<!-- 1. Scene: #dense-jungle brought to the screen -->
<span id="dense-jungle">
<!-- 2. <h3> fadeIn -->
<h3>Dense Jungle</h3>
<!-- 3. The first <p> gets texted with typing/typewriter animation -->
<p>The jungle is so green.</p>
<!-- 4. The next <p> gets texted after the first -->
<p>There is a path.</p>
<!-- 5. And if another followed <p> does also exist in the scene -->
</span>