{"size": 393, "ext": "js", "max_stars_repo_path": "2-resources/_External-learning-resources/00-Javascript/JavaScript-and-jQuery/Day_5/Video4_Handling_Forms_Without_Reloading/js/index.js", "max_stars_repo_name": "eengineergz/Lambda", "max_stars_repo_stars_event_min_datetime": "2018-06-03T08:04:35.000Z", "max_stars_repo_stars_event_max_datetime": "2021-10-04T17:56:45.000Z", "max_issues_repo_path": "2-resources/_External-learning-resources/00-Javascript/JavaScript-and-jQuery/Day_5/Video4_Handling_Forms_Without_Reloading/js/index.js", "max_issues_repo_name": "eengineergz/Lambda", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "2-resources/_External-learning-resources/00-Javascript/JavaScript-and-jQuery/Day_5/Video4_Handling_Forms_Without_Reloading/js/index.js", "max_forks_repo_name": "eengineergz/Lambda", "max_forks_repo_forks_event_min_datetime": "2021-04-10T06:53:41.000Z", "max_forks_repo_forks_event_max_datetime": "2021-04-17T12:07:12.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 19.65, "max_line_length": 57, "alphanum_fraction": 0.5979643766}

// $('#make-animal-talk').click(makeAnimalTalk);

$('button#make-animal-talk')
  .click(makeAnimalTalk);
  
  
function makeAnimalTalk(evt) {
  const inputValue = $('input[name=speech]').val();
  const fontSize = $('select[name=fontSize]')
  .find(':selected')
  .val();
  
  $('img').before(`
    <div class='bubble' style='font-size: ${fontSize}px'>
      ${ inputValue }
    </div>
  `)
}
