Skip to content

Commit

Permalink
updates alt text arr
Browse files Browse the repository at this point in the history
  • Loading branch information
jasheloper committed Aug 3, 2024
1 parent 35cbaad commit 981b773
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 981b773

Please sign in to comment.