title: Change Text Align On Click
body: <p>I am looking to have a button that shifts the text alignment to the left side whenever it is clicked. This is the function I currently have that doesn't seem to be working:</p>
  
  <pre><code>function myFunctionLeft() {
  document.getElementById("myAnchor").style.left = "-15px";
  document.getElementById("myAnchor").style.align = left;
  </code></pre>
  
  <p>Is there a different way I should be trying to move the text align to the left?</p>