Can somebody explain each step of this code and what it is doing?


#1

For a college assignment, I have been tasked with creating an interactive website with the use of HTML, CSS and JavaScript. For the JS part, I must create an interactive slideshow which, when a user clicks certain navigation arrows, allows them to cycle through the images. After doing so, I must explain the procedure of the JS and how it produces the final result. If someone could take a look at the code and explain carefully what is going on it will really help me out.

Thanks.


#2

isn't it cheating if we explain this? Be aware that your teacher might be able to find this


#3

Why not take the following Codecademy course?

The course is suitable for beginners and will only take a few hours for you to go through. It includes all the information you need to build an interactive slideshow, and you'll be in a much better position to explain the code to someone.


#4

Of course not. All this is is researching the coding procedure online.


#5

what of it do you already understand?