Added a console.log statement to display the results in the console area of the web page.