I have implemented 4 functions to handle button clicks and div transitions. The goal is to hide certain divs and show one specific div when a button is clicked. Additionally, the background of the button should change upon hovering over it.
Now, I am looking to automate this process so that the click events are triggered automatically, sequentially. Despite several attempts, I have been unsuccessful in achieving this automation. Below are the functions I have created:
function Fun1() {
// Function for Button 1
}
function Fun2() {
// Function for Button 2
}
function Fun3() {
// Function for Button 3
}
function Fun4() {
// Function for Button 4
}