From 54a9b225afce5d7193fc965cc198eb88f956446d Mon Sep 17 00:00:00 2001 From: TBS96 Date: Mon, 3 Jun 2024 14:28:01 +0530 Subject: [PATCH] implemented BS5, box-shadow modification in CSS and 'use strict' in JS --- css/style.css | 2 +- index.html | 11 ++++++++++- js/script.js | 2 ++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 7728d95..aaa0c13 100644 --- a/css/style.css +++ b/css/style.css @@ -13,7 +13,7 @@ body{ height: 300px; overflow: hidden; border-radius: 10px; - box-shadow: 0 0 10px rgb(0, 0, 0.1); + box-shadow: 0 0 100px rgba(255, 255, 255, 0.719); } .slides{ diff --git a/index.html b/index.html index b025695..7eb88d0 100644 --- a/index.html +++ b/index.html @@ -4,9 +4,14 @@ Image Slider + + + + + - +
@@ -24,6 +29,10 @@
+ + + + \ No newline at end of file diff --git a/js/script.js b/js/script.js index 0ffa873..d3f7d1e 100644 --- a/js/script.js +++ b/js/script.js @@ -1,3 +1,5 @@ +"use strict" + let currentIndex = 0; const showSlide = (index) => {