title: read external file with Javascript
body: <p>I have an external textfile of variable length named <strong>profiles.txt</strong> with information in the following format:</p>
  
  <pre><code> Jason/Red/Tyrannosaurus
   Zack/Black/Mastodon
   Billy/Blue/Triceratops
   Trini/Yellow/Griffin
   (etc)
  </code></pre>
  
  <p>How can I read through the file using JavaScript to output the following HTML:</p>
  
  <pre><code> Name: Jason&lt;br&gt;
   Color: Red&lt;br&gt;
   Avatar: Tyrannosaurus&lt;br&gt;
   &lt;br&gt;
   Name: Zack&lt;br&gt;
   Color: Black&lt;br&gt;
   Avatar: Mastodon&lt;br&gt;
   &lt;br&gt;
   (etc)
  </code></pre>