title: How to delay the text function in jQuery
body: <p>I'm trying to change the text present in a div to another text by using text() function in jQuery. It is working fine but it is too fast. Is there anyway to delay this text() function so that I can view the change properly. Here's the code.Please take a look at it. Thanks in advance :)</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('.main .title').text("Changed title!");
  $('.main .description').text("Changed Description");</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.main {
    background-color: orange;
    color: white;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div class="main"&gt;
    &lt;div class="title"&gt;
      &lt;p&gt;This title text should be changed&lt;/p&gt;
    &lt;/div&gt;
    &lt;div class="description"&gt;
      &lt;p&gt;This description should als be changed&lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>