title: Applying css to a javascript variable
body: <p>I want to add color and border to a javascript variable using css. Below is my code;</p>
  
  <pre><code>var msg = "OK"; //i want this to colored and bordered with green.
  msg = "Conflict"; // i want this to be colored and bordered with red.
  </code></pre>
  
  <p>I tried another answer from other questions but it doesn't seem to work with me.</p>