title: HTML/JS Show a text next to a input box
body: <p>I want to put a text next to an input box, after an successful if clause.
  Just need to know how to show up such text.</p>
  
  <p>Thanks</p>
  
  <p><code>&lt;input type="text" class="form-control" id="username" placeholder="Username" name="username" required autofocus/&gt;</code>
  And my code snippet:
  <code>$("#username").append("&lt;p&gt;This username is not available&lt;/p&gt;");</code></p>