Problem with the “setGradient()” function created in JavaScript
The background color gradients were suppose to change as I change the palette colors. But the background colors do not change and remain the same as the default ones given in the respective CSS file.