From 1325c5554e12a7b4b34bf8284d4c32257c055924 Mon Sep 17 00:00:00 2001 From: zepp Date: Mon, 28 Oct 2024 08:29:46 -0400 Subject: [PATCH] Correct typo is description object --- js/script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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