Changed title to fit accordingly to the assignment
Added same info from alert to console.log so that it prints out the entire result to the console