DEV Community

Discussion on: Making a Simple Image Slider in React.js

Collapse
 
brunoalmeidakotesky profile image
Bruno Kotesky

Very nice!
How could i implement an auto scrolling code?

Collapse
 
rafaelh_us profile image
Rafael Hernandez

Create an interval calling slideRight function and clearInterval as seen here w3schools.com/jsref/tryit.asp?file...