@FarisPalayi
Posted
Looking good๐
Slider buttons are working correctly on my device, only problem is that when you try to change the image fast or when the images are not fully loaded. The former is happening because there is a setTimeout()
delay and the latter can be solved by adding a preload meta tag
<link rel="preload" href="./images/blah.jpg" as="image">
One thing to note is that, the content will only shown after the images are fully loaded.
Also, try to add an aria-label
or title
attribute to 'previous' and 'next' buttons for better accessibility.
Furthermore, I suggest you to give a fallback image in the HTML, as a safety measure if JavaScript fails.
That's all from me. Have fun codingโจ
Marked as helpful
@shaj-ed
Posted
@FarisPalayi thanks for the suggestions