How do I change an attribute's text color?

How do I change an attribute's text color?
0

#1

How do I change an attribute’s text color? So, what I wanted to do is to change the text when I hovered over the text. So, that’s why I did. But when I needed to change each letter into a different color…it threw me off.

So, how do I change each letter into a different color when I hover over the text?

Here is a link to my codepen *not finished


#2

After a quick Google search, this is what I found.