function addHorns(hornsInfo){
  const template = $('#photo-template').html();
  const render = Handlebars.compile(template);
  let hornsArray = [];
  hornsInfo.forEach(horn => {
    hornsArray.push(render(horn))
  });
  $('#hornsGoHere').append(hornsArray);
}
//Accesses image sections template, renders images to page

Accesses image sections template, renders images to page
Accesses image sections template renders images to page
function addHorns(hornsInfo){
  const template = $('#photo-template').html();
  const render = Handlebars.compile(template);
  let hornsArray = [];
  hornsInfo.forEach(horn => {
    hornsArray.push(render(horn))
  });
  $('#hornsGoHere').append(hornsArray);
}
function addHorns ( hornsInfo ) { const template = $ ( '#photo-template' ) . html ( ) ; const render = Handlebars . compile ( template ) ; let hornsArray = [ ] ; hornsInfo . forEach ( horn => { hornsArray . push ( render ( horn ) ) } ) ; $ ( '#hornsGoHere' ) . append ( hornsArray ) ; }
Accesses image sections template, renders images to page
Accesses image sections template renders images to page