Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.12 KB

File metadata and controls

29 lines (19 loc) · 1.12 KB

This is a simple carousel built with plain JavaScript, which can be your starting point to build your own carousel solution.

If you are new to JavaScript, consider going through this beginner's guide that explains nearly everything that goes into this project.

Features

  • Basic ARIA accessibility
  • Autoplaying slides
  • Pagination / Paged navigation
  • Keyboard navigation
  • General adaptation for differnt screen sizes
  • Customizable styles

Installation

Simply clone this repo in your local development environment and open index.html in your favorite web browser.

git clone https://github.com/rahuldotdev/js-carousel.git

The style.css file is as important as the carousel.js as it sets the stage for our carousel and its controls.

License

This project is licensed under the MIT license.


I'm working on another carousel solution called Sway Carousel which is based on this project but carries some advanced features like showing multiple slides at a time, fading effects, and more.