i am new to javascript but trying to get a handle on it. i have a javascript that prints a random array message:
quote0= "Time is on our side. -John Mervish";
quote1= "A bird in the hand is worth two in the bush. -Frank Templeton";
quote2= "But I dont have the wings and I wonder why. -Miss Prince";
var ran_unrounded=Math.random()*2;
var ran_number=Math.round(ran_unrounded);
anyway, the code is styled by a wrapper <div id="dottedsidebar">, but i want to have more than one style to each line (expample quote0: have 'Time' in bold, have '-John Mervish' in #FF0000 and 2px smaller while rest of quote is #000000). how can i achieve this?