Using Brett's method, placed function listeners inside the divs we want them to poplulate