Please look at the script below, and after you do, I have a question to ask:
//Input Box & Format Text
var InputBox = prompt("What is your name?","Name Input Box"
var Response = ("Thank you for entering your name, " + InputBox);
var ColorResponse = Response.fontcolor('red');
var FontUpperCase = Response.toUpperCase();
var FontColletor = FontUpperCase;
// Output
document.writeln(FontColletor);
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
My question is this:
How do I get the data inside the variable FontCollector to become both uppercase and the color red? Right now, obviously, I'm getting my font to be just uppercase. Thx.
Mark