diff --git a/js/script.js b/js/script.js index 16e38cc..d79bd33 100644 --- a/js/script.js +++ b/js/script.js @@ -1,14 +1,13 @@ let icon = document.querySelectorAll(".clickable-image"); let descriptions = { - "baxter-stare.png": "Baxter lovingly staring at the camera on a sunny day in the apartment. One of my favorite photos of him. He would of been 6 or 7 around this time.", + "baxter-stare.png": "Baxter lovingly staring at the camera on a sunny day in the apartment. One of my favorite photos of him. He would have been 6 or 7 around this time.", }; icon.forEach((item) => { item.addEventListener("click", () => { - let desktop = document.querySelector("body"); // begin creation of window that will display image