title: How to animate the text in a for-loop?
body: <p>I'm trying to create a sidebar animation effect as:</p>
  
  <pre><code>&lt;div class="sidebar-description sidebar-personal-info-section"&gt;
      A passionate
      &lt;span class="changing-keywords" id="change"&gt;
          &lt;strong&gt;
              &lt;b class="hidden"&gt;software engineer&lt;/b&gt;
              &lt;b class="hidden"&gt;lifelong learner&lt;/b&gt;
              &lt;b class="hidden"&gt;blogger&lt;/b&gt;
              &lt;b class="hidden"&gt;traveller&lt;/b&gt;
          &lt;/strong&gt;
      &lt;/span&gt;&lt;br&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I've written the HTML code but issue is that how should I display each text one at a time with small delay with <code>slide-out</code> animation effect? The loop should work infinite times.</p>