The slider on the homepage is completely non-functional due to multiple issues in the JavaScript code. Incorrect element selectors, broken event listeners, invalid data types, and logical errors prevent the slider from running as expected.
Steps to Reproduce:
Open the homepage.
Try clicking the "Next" or "Previous" buttons of the slider.
Observe that the slider does not change or function as intended.
Expected Behavior:
The slider should smoothly transition between items when the "Next" or "Previous" buttons are clicked. It should loop through the items, moving back to the first slide after reaching the last, and vice versa.
Description:
The slider on the homepage is completely non-functional due to multiple issues in the JavaScript code. Incorrect element selectors, broken event listeners, invalid data types, and logical errors prevent the slider from running as expected.
Steps to Reproduce:
Open the homepage. Try clicking the "Next" or "Previous" buttons of the slider. Observe that the slider does not change or function as intended. Expected Behavior:
The slider should smoothly transition between items when the "Next" or "Previous" buttons are clicked. It should loop through the items, moving back to the first slide after reaching the last, and vice versa.