Correct typo is description object
This commit is contained in:
parent
2c0a2e8e34
commit
1325c5554e
|
@ -1,14 +1,13 @@
|
||||||
let icon = document.querySelectorAll(".clickable-image");
|
let icon = document.querySelectorAll(".clickable-image");
|
||||||
|
|
||||||
let descriptions = {
|
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) => {
|
icon.forEach((item) => {
|
||||||
item.addEventListener("click", () => {
|
item.addEventListener("click", () => {
|
||||||
|
|
||||||
|
|
||||||
let desktop = document.querySelector("body");
|
let desktop = document.querySelector("body");
|
||||||
|
|
||||||
// begin creation of window that will display image
|
// begin creation of window that will display image
|
||||||
|
|
Loading…
Reference in New Issue