SckJS / Syntax Highlight Test

HTML

<div id="example-box">
	<div id="example-content">Hello</div>
</div>

CSS

#example-box
{
	display:flex;
	width:150px;
	height:150px;
	border:solid 1px black;
	align-items:center;
	justify-content:center
}

#example-content
{
	display:inline-block;
}

JS

function Person( Name, FavouriteFood )
{
	this.Name = Name;
	this.FavouriteFood = FavouriteFood;
	
	this.SayHi()
	{
		document.write( "Hi, my Name's" + Name + ". My favourite food is " + this.FavouriteFood + "." );
	}
}

var Dave = new Person( "Dave", "Pizza" );
Dave.SayHi(); // Writes out "Hi, my Name's Dave. My favourite food is Pizza.";