DEV Community

Shivangip285
Shivangip285

Posted on

Slider/carousel with javascript and HTML

Lets build a fun project. This slider project is made with plain javascript and HTML.

Image description

This slider supports both clockwise and anticlockwise navigation of slides
There are multiple ways to get it working. Three different ways are incorporated to use the slider.
1)The vertical radio button lets user navigate to next image and also helps to know the position/index of image in the slide.
2)The top arrow button on click help achieve slider functionality in anti-clockwise direction. Once all slides are over it will start over from first slide.
3)The bottom car button makes slides roll in clockwise direction and is configured to move with slides on click.

The github link to project-Slider

Top comments (0)