title: Change CSS on Text When An Image is Clicked
body: <p>I have an image that acts as a button and text lower on the page. How would I set it up with javascript and css so that when you click on the image the text color would change below?</p>
  
  <pre><code>&lt;input type="image" id="theButton" src="https://cdn0.vox-
  cdn.com/uploads/chorus_asset/file/4039958/ama-orange.0.png" 
  style="height:50px" /&gt;
  
   &lt;p&gt;
  text 1
  &lt;/p&gt;
  
  &lt;p&gt;
  text2
  &lt;/p&gt;
  </code></pre>