HTML and CSS Reference
In-Depth Information
context . font = "16px Sans-Serif" ;
context . fillText ( "Higher Or Lower: " + higherOrLower , 150 , 125 );
//Letters Guessed
context . fillStyle = "#FF0000" ;
context . font = "16px Sans-Serif" ;
context . fillText ( "Letters Guessed: " + lettersGuessed . toString (),
10 , 260 );
iif ( gameOver ) {
context . fillStyle = "#FF0000" ;
context . font = "40px Sans-Serif" ;
context . fillText ( "You Got It!" , 150 , 180 );
}
}
Search WWH ::




Custom Search