title: string to array, array to <ul> using javascript
body: <p>I would like to take a user entered string. Create an array from said string. Then take that array and display it as a 'ul'. The user entered string will be flower names separated by "&amp;". I would also like to see if I could use an alert to notify the user that they basically did not type in a correctly formatted string.</p>
  
  <p>here is what I have so far but Im confused at how to continue as well as how to implement an "alert".</p>
  
  <p>html:</p>
  
  <pre><code>    &lt;form&gt;
          Enter flowers here: &lt;input type="text" id="flower_string"&gt;&lt;br&gt;
          &lt;input type="button" value="Just Do It" onclick="FlowerArray()"&gt;&lt;br&gt;
      &lt;/form&gt;
      &lt;ul id="flower_results"&gt;&lt;/ul&gt;
  </code></pre>
  
  <p>javascript:</p>
  
  <pre><code>//funtion will take user flower names seperated by "&amp;" to create an array and display
  function FlowerArray(){
      var flower_string = document.getElementById("flower_string").value;
      var flower_array = flower_string.split("&amp;");
      var i;
      //for loop to display results to user
      for(i = 0; i &lt; flower_array.length; i++){
  
      }
  }
  </code></pre>
  
  <p>my for loop is not complete because im unsure how i can do this.</p>