title: How to change color of letter on mouse hover in JavaScript
body: <p>This is my code:</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>$(document).ready(function(){
    var letters = $('p').text();
    for(var letter of letters) {
      $(letter).wrap("&lt;span class='x'&gt;&lt;/span&gt;");
    }
  })</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.x:hover {
    color: orange;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;p&gt;Hello World!&lt;/p&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>For example, I want when hovering on <code>r</code>, the color of <code>r</code> to be <code>orange</code> and no other letters.</p>