function add_species_info_boxes(species_name_arr) {
  for (species_name of species_name_arr) {
    var info_box = document.createElement('div');
    info_box.className = 'info_box';

    info_box.innerHTML =
      '<img src="image/flower/' +
      species_name +
      '.jpg" />' +
      '<div><p>' +
      species_name +
      '</p>' +
      '<label onclick="go_wiki(\'' +
      species_name.split(' ').join('_') +
      '\')">More Details</label>' +
      '</div>';

    document.getElementById('info_box_container').appendChild(info_box);
  }
}
//Add ending result of species to the container

Add ending result of species to the container
Add ending result of species to the container
function add_species_info_boxes(species_name_arr) {
  for (species_name of species_name_arr) {
    var info_box = document.createElement('div');
    info_box.className = 'info_box';
    info_box.innerHTML =
      '<img src="image/flower/' +
      species_name +
      '.jpg" />' +
      '<div><p>' +
      species_name +
      '</p>' +
      '<label onclick="go_wiki(\'' +
      species_name.split(' ').join('_') +
      '\')">More Details</label>' +
      '</div>';
    document.getElementById('info_box_container').appendChild(info_box);
  }
}
function add_species_info_boxes ( species_name_arr ) { for ( species_name of species_name_arr ) { var info_box = document . createElement ( 'div' ) ; info_box . className = 'info_box' ; info_box . innerHTML = '<img src="image/flower/' + species_name + '.jpg" />' + '<div><p>' + species_name + '</p>' + '<label onclick="go_wiki(\'' + species_name . split ( ' ' ) . join ( '_' ) + '\')">More Details</label>' + '</div>' ; document . getElementById ( 'info_box_container' ) . appendChild ( info_box ) ; } }
Add ending result of species to the container
Add ending result of species to the container