Please add your question as a new post rather than bumping up an old thread from 2018, along with any code that you have used on your own page in a code block and any screenshots that might help.
Also, make use of the related posts box on this very forum page and the search option to find previous forum posts that can help with this.
https://www.wix.com/corvid/forum/community-discussion/change-text-color-in-a-text-box-on-a-repeater-using-conditional-statement
https://www.wix.com/corvid/forum/community-discussion/how-can-i-change-repeater-item-background-color-based-on-click
https://www.wix.com/corvid/forum/community-discussion/using-foritems-changing-elements-inside-repeater
https://www.wix.com/corvid/forum/community-discussion/mousein-event-within-a-repeater
I would also suggest that you have a read in the Wix API Reference for Repeater and how to code for items in each container with the forEachItem(), forItems(), and onItemReady() functions in code.
https://www.wix.com/corvid/reference/$w.Repeater.html
Plus, take a look at this example to see how to do it on a page using the global (outside) actions and the inline (inside) actions
https://www.wix.com/corvid/forum/tips-tutorials-examples/example-input-repeaters
Finally, as for your question about using .text and .html, you can see more about that in the Wix API Reference as well here.
https://www.wix.com/corvid/reference/$w.Text.html
https://www.wix.com/corvid/reference/$w.Text.html#text
Sets or gets the plain-text contents of a text element.
Set a text element’s plain-text content
$w("#textElement").text = "Text Value";
Sets or gets the contents of a text element using standard HTML.
Set a text element’s HTML content
$w("#textElement").html = "<b>Bold Text</b>";