title: How to turn a string upside down
body: <p>Like <code>var name = prompt ("enter a name");</code></p>
  
  <pre><code>For (var x =0; x&lt;name.length; x++){
          var c = name.charAt(x);
          console.log(c);
  }
  </code></pre>
  
  <p>If a name like kelvin is entered it will output</p>
  
  <pre><code>k
  e
  l
  v
  i
  n
  </code></pre>
  
  <p>How to flip it like</p>
  
  <pre><code>n
  i
  v
  l
  e
  k
  </code></pre>