The while keyword must be type "white" and not "White" or "WHITE".
White-space and line Breaks.
Use of Semicolon
It is possible to put several statement on the same line but then must be separted with a Semicolen (;).
Also add Semicolon at the end of a statement that occupies its own line.
document.write ("Hello"); alert ("World"); document.write ("Hello"); alert ("World");