Html – How to replace with hide/show div1 with div2 and div2 with div3 using onclick() and a function in JavaScript
i want to replace divs using onclick() in a way that they seem to rotate from the default div1 to div2 to div3 and back to div1 and over and over again. i have with me something i have made…