title: Adding bold text to variable
body: <p>I am just beginning with JavaScript and what I am trying to achieve now is to add bold style to a variable result. The code that I am refering to is the following:</p>
  
  <pre><code>if(isNumeric(n)) { 
      document.write("The square root of " + n + " is " + answer); 
  } 
  else { 
      alert('This is not a number!');
  }
  </code></pre>
  
  <p>I want to make the variable <code>answer</code> to appear in bold and the result to look like this:</p>
  
  <p><strong>Example:</strong> The square root of 4 is <strong>2</strong></p>
  
  <p><em>Thank you all in advance!</em></p>