Not working auto-shift image?

https://jsfiddle.net/evgeniel/d6uc2c1g/2/
The buttons work, but the function that automatically replaces the image doesn't work, tell me what's the error?

P. s would love to hear criticism and advice)
July 2nd 19 at 18:26
2 answers
July 2nd 19 at 18:28
So the image changes every 5 seconds, use setInterval, not setTimeout
July 2nd 19 at 18:30
Broken image, that's all
Yes I know now there is no way to pay,thanks for the replies, but why setTimeout only runs once, changes one image? - Loy_Cruickshank commented on July 2nd 19 at 18:33
the way it should be - blake_Eichma commented on July 2nd 19 at 18:36

Find more questions by tags JavaScript