Skip to content

Commit

Permalink
Fixed incorrect path in gallery.js
Browse files Browse the repository at this point in the history
Now the gallery shows all desired activities
  • Loading branch information
adityaraute authored May 19, 2024
1 parent 718b406 commit c9e7e34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/script/gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ document.addEventListener('DOMContentLoaded', function () {
const gallery = document.getElementById('gallery');

// Fetch JSON data
fetch('assets/images.json')
fetch('assets/images/images.json')
.then((response) => response.json())
.then((data) => {
// Iterate through each image in the JSON
Expand All @@ -30,4 +30,4 @@ document.addEventListener('DOMContentLoaded', function () {
console.error('Error fetching data:', error);
});
});


0 comments on commit c9e7e34

Please sign in to comment.