Answer the question
In order to leave comments, you need to log in
How to increment on click event?
Hello. There is a code
for (let index = 0; index < value.length; index++) {
const slidesWrapper = document.getElementsByClassName("slider__slide")
slidesWrapper[index].style.backgroundImage =
`url` +
`${`(http://api....)`}`;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question