Hello, sorry for not replying sooner.
Here's an example of what I'm trying to achieve, though for this mockup I just manually styled each letter individually.
At some point I might want to use images, but for now simply coloring text will be enough.
The goal is for each letter to have its own color, for example "P" will always be red, every time it appears.
I want the user to be able to input their own string of characters, and then have the page give them the colored version of that same string.
What's the best way to go about achieving this? My first thought, as I said above, was to convert the string into an array of characters and then use that to print the result, but if there's a better method then I'm all for it!