From 80d99078f5239d9280c3fa9c94420437673e79a9 Mon Sep 17 00:00:00 2001 From: Abdelrahman Abdelhamid Date: Thu, 24 Jun 2021 22:20:30 +0200 Subject: [PATCH] images --- js/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/index.js b/js/index.js index 6d525b0..c106eee 100644 --- a/js/index.js +++ b/js/index.js @@ -51,11 +51,11 @@ setTimeout(() => animationFunctions.push(animatedText.play()), timeControl.intro // Carousel const images = [ - {src: '../images/carousel/jeep.png', alt: 'Jeep'}, - {src: '../images/carousel/ford.png', alt: 'Ford'}, - {src: '../images/carousel/f150.png', alt: 'Ford F150'}, - {src: '../images/carousel/pathfinder.png', alt: 'Toyota'}, - {src: '../images/carousel/toyota.png', alt: 'Toyota'}, + {src: 'images/carousel/jeep.png', alt: 'Jeep'}, + {src: 'images/carousel/ford.png', alt: 'Ford'}, + {src: 'images/carousel/f150.png', alt: 'Ford F150'}, + {src: 'images/carousel/pathfinder.png', alt: 'Toyota'}, + {src: 'images/carousel/toyota.png', alt: 'Toyota'}, ]; let carouselDiv = document.getElementById('carousel-div'); let carousel = new Carousel(carouselDiv, images, {