title: How can you change the color of a label in a form?
body: <p>I have the following code,</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;label for="fName"&gt;First Name&lt;sup&gt;*&lt;/sup&gt;&lt;/label&gt;
  &lt;input type="text" autocomplete="off" name="fName" id="fName" value='' required/&gt;
  </code></pre>
  
  <p>JavaScript</p>
  
  <pre><code>var fName = document.getElementById("fName");
  fName.label.style.color="red";
  </code></pre>
  
  <p>Is this a valid way to change the color or the label or does it need it's own id?</p>
  
  <p>Thanks for the help!
  Clarification, the color needs to change if the field is empty on the form submit.</p>