title: How to get a value from inside of an element in HTML and set it as variable in JS
body: <p>Here I have an element.</p>
  
  <pre><code>&lt;span id="coins"&gt;50&lt;/span&gt;
  </code></pre>
  
  <p>And I want to get the 50 out of it and set it as x (something like that)</p>
  
  <pre><code>var x = ("#coins")
  </code></pre>
  
  <p>But I'm not sure how to do it... </p>