I have some javascript code that users the ternary operator to determine the first part of a message variable.
response.answer == "stack overflow" ? message = "blah blah some message." : message = "blah blah some other message" + some variable;
Once that ternary operator's complete, I then concatenate more onto the string.
message += " About me: my name's Blah blah. Contact me on @blah blah Twitter. This game was made with blah blah."
How would you add a span class to the string contained in the message variable so that it can be styled?