Computer Science, asked by shilpa6951, 9 months ago

Create a web page in HTML having a white background and two button objects.Write code using Java script​

Answers

Answered by d687cyoyo
2

Answer:

var slides = document. getElementsByClassName("mySlides"); for (i = 0; i < slides.

length; i++) { slides[i]. style. display = "none"; } ...

if (slideIndex > slides. length) {slideIndex = 1} slides[slideIndex-1].

style. display = "block"; setTimeout(showSlides, 2000); // Change image every 2 seconds. }

Similar questions
Math, 1 year ago