Hello I have been trying to figure out the meaning behind this (n), could be the name of some variable
Code from w3schools
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_slideshow
Hello I have been trying to figure out the meaning behind this (n), could be the name of some variable
Code from w3schools
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_slideshow
n
is a parameter that is passed to the functions currentSlide(), plusSlides(), etc...
as an argument.
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/passing-values-to-functions-with-arguments/