HTML color code isn't showing when you preview the game.

So, in the online version of squiffy i put this HTML code for background color and it worked in the output section. But when i click preview of play the game it wont show up, why is that?

I put 4 tabs at the beginning of the code, it wont show here.

$('#output').css('background-color', 'Black');
$('#output').css('color', 'Maroon');

Would anyone help me with this? Maybe i got the code wrong.


Log in to post a reply.

Support

Forums