Black Lives Matter. Please consider donating to Black Girls Code today.

How to color only certain words in a text Div output

Please advise how to have this Div.html color red the words “test”, “this” but leave all else same color as before

1 Like

You can take a look at html.Span (like answered in this post: Html components span element)

1 Like