+ 1
How set background color on select?
I recently created a code for users to select their background color in my app,I gave them list of colors to select and the user selected color is shown in the preview box and when they choose their final color and click the select button the whole body background should be changed to the user selected color(which is now present shown in the preview box) and the code is here, https://code.sololearn.com/WIz9kt1Bo3Sa/?ref=app what should I use here?
4 Réponses
+ 1
you have to first remove the body backgroundImage and then you can set the background color
https://code.sololearn.com/W325muq4U2eC/?ref=app
+ 2
tq so much
+ 1
Background color of what element do you want to change??
+ 1
Background color of the whole body of my code which was selected by the user in the preview box.