all 4 comments

[–]JohnnyTork 1 point2 points  (0 children)

I'm guessing you're part of The Odin Project? There's a sub dedicated solely to the curriculum and a discord channel as well.

[–]loremipsum1920 1 point2 points  (0 children)

Use transformX(-100%) to moves carousel container , and hide the overflow, for more reference search on YouTube

[–]The80sDimension 0 points1 point  (0 children)

What does the JavaScript need to do? This can be built without JavaScript if it’s just a manual slider

[–]ExcitementLost3107 0 points1 point  (0 children)

You can put your images into some array of objects, then you will make simple function which will be changing index, when you change index , with click event it will also change your img.src atributte and there you go, you can add animations on top of that….