"use strict" const image_elements = ["images/bison.jpg","images/deer.jpg","images/hero.jpg","images/release.jpg"] // code the get element function document.addEventListener("DOMContentLoaded", () => { // get the elements from the DOM // click event listener for the Left button document.querySelector("#left_button").addEventListener("click", evt => { // shift the items in the array to the left // display the first three images }); // click event listener for the Right button document.querySelector("#right_button").addEventListener("click", evt => { // shift the elements in the array // display the first three images }); })