First, I used window.onload = initAll as a way to call the function when the page first loads. Then, I created a function called display_image as a way to display an image dynamically based on the current time. In this function I created an image element, appended it to the document, and adjusted the width and height. In the main function I created a variable that stores the current hour. Then, I compared the current hour to a certain period of time and used that logic as a way to figure out wshich image to display. At the end, I added an error message just in case the getHours() function returned an invalid value. I used my imagination and the interesting thing I added was a clock showing the current time.