How to set color of text input from the textbox based on length of character's text? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to set color of text input from the textbox based on length of character's text?

1st Apr 2020, 7:53 AM
Hany Sitio
Hany Sitio - avatar
6 Answers
+ 1
Can you tell me more what the expected output like?
2nd Apr 2020, 9:50 AM
Ipang
0
You mean every letter has different colour? Or different colour for even and odd length of text? Actually, I don't understand you. So kindly elaborate on that idea.
1st Apr 2020, 9:07 AM
Ipang
0
different colour for even and odd length of text
1st Apr 2020, 9:50 AM
Hany Sitio
Hany Sitio - avatar
1st Apr 2020, 10:37 AM
Ipang
0
oh i see,but nope,i mean that when we input the text from textbox ,output will be colored with different based on length of character
1st Apr 2020, 10:40 AM
Hany Sitio
Hany Sitio - avatar
0
But I don't know what output is, or where to write output (you didn't say). Is there calculation involved? I think you need to be more descriptive about this. Otherwise it's not effective communication and time wasting.
1st Apr 2020, 10:44 AM
Ipang