Premium

Image Slider (Dots + Previous/Next)

By FrontendAtlas Editorial · Updated Jan 30, 2026

Challenge summary

Build a simple React image slider with previous/next buttons and dot navigation. Show the current slide, its title, and the slide index (e.g.

What you'll practice

  • Display the current slide image and its title.
  • Show text like "Slide X of N" under the image.
  • Provide "Previous" and "Next" buttons to move through slides.
  • Render dot buttons for each slide and allow jumping directly to a slide.
  • Disable "Previous" on the first slide and "Next" on the last slide.

What Premium unlocks

Premium unlocks the runnable workspace, behavioral checks, implementation walkthrough, and edge-case discussion. It also runs as an Interview Pressure Mode, in rounds that add requirements the way an interviewer does.

Free related practice

Public interview reports: LeetCode Discuss (April 2020) · Amazon frontend interview questions

Upgrade to FrontendAtlas Premium to unlock this challenge. Already upgraded? Sign in to continue.

Premium is $24 a month or $99 a year, less in many countries.