From 981b773a5347d79473aa43204d19cbe34cf1de38 Mon Sep 17 00:00:00 2001 From: jasheloper <48870048+jasheloper@users.noreply.github.com> Date: Sat, 3 Aug 2024 09:16:57 -0700 Subject: [PATCH] updates alt text arr --- main.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.js b/main.js index 3f34890..c8097b1 100644 --- a/main.js +++ b/main.js @@ -9,11 +9,11 @@ const imgArr = ["pic1.jpg", "pic2.jpg", "pic3.jpg", "pic4.jpg", "pic5.jpg"]; /* Declaring the alternative text for each image file */ const imgAlts = [ - {altText: "Mountain Trail Path"}, - {altText: "Mountain Peak and Trail"}, - {altText: "Orange Flowers"}, - {altText: "Desert Mountain View"}, - {altText: "Sunrise in the Desert"} + {altText: "Photo 1 - Mountain Trail Path"}, + {altText: "Photo 2 - Mountain Peak and Trail"}, + {altText: "Photo 3 - Orange Flowers"}, + {altText: "Photo 4 - Desert Mountain View"}, + {altText: "Photo 5 - Sunrise in the Desert"} ]; /* Looping through images */