Longest String in an Array

Given an array of marvel heroes, write a function that accepts the array of names (strings).
The function should return the hero with the longest name.
The user should click the button to display the heroes name below.

List of Heroes

Extra Credit: Find an attractive way to display the entire list of names below the longest name.



Heroes Name Goes Here


My Solution