+ 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?

23rd Jul 2020, 6:11 AM
GOLLAKOTI VENKATA SAI SIVA MANI CHANDU
GOLLAKOTI VENKATA SAI SIVA MANI CHANDU - avatar
4 Antworten
+ 1
you have to first remove the body backgroundImage and then you can set the background color https://code.sololearn.com/W325muq4U2eC/?ref=app
23rd Jul 2020, 6:36 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 2
tq so much
23rd Jul 2020, 6:56 AM
GOLLAKOTI VENKATA SAI SIVA MANI CHANDU
GOLLAKOTI VENKATA SAI SIVA MANI CHANDU - avatar
+ 1
Background color of what element do you want to change??
23rd Jul 2020, 6:23 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
Background color of the whole body of my code which was selected by the user in the preview box.
23rd Jul 2020, 6:28 AM
GOLLAKOTI VENKATA SAI SIVA MANI CHANDU
GOLLAKOTI VENKATA SAI SIVA MANI CHANDU - avatar