anybody know why colors are not changing on my android app. Tested on my desktop browser and no problems. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

anybody know why colors are not changing on my android app. Tested on my desktop browser and no problems.

https://code.sololearn.com/W46Nx3XD9VtS/?ref=app

10th Jun 2019, 2:03 AM
benjamin
benjamin - avatar
2 Answers
+ 3
I guess you forgot to add the "#" while assigning new color. It's important and necessary when you use Hex format of color codes. Add like this : "#" + randomColor
10th Jun 2019, 2:29 AM
Raj Chhatrala
Raj Chhatrala - avatar
0
odd that it didn't cause an issue on desktop. Thanks for the response !
10th Jun 2019, 2:36 AM
benjamin
benjamin - avatar