Skip to content
Advertisement

Problems at creating slider, I’m new in javascript

I’m trying to create an automatic slider, I can go through the images using the buttons to change them, but them don’t change automatically and I don’t know why, also the first end button doesn’t work properly at the beginning of the slider.

This is the HTML code:

JavaScript

This is the CSS code:

JavaScript

And this is the JavaScript code:

JavaScript

I appreciate any help or advice you can give me in order to solve this problem.

Advertisement

Answer

I made a lot of change for you code html css and javascript

I hope this help you and this what you need.

JavaScript
JavaScript
JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement