JavaScript Text Programmer

Here is the output box:
I'm the BOX!
Usage: All these commands have to be typed into the web console of your browser. How to open the Web Console?

Code Examples:

alert("Hey There!");

boxwrite("Pi = " + 3.1415);

document.bgColor="blue";
document.body.style.color="white";

x=prompt("What is your Name?");
boxwrite("Hi "+x);

x=0;
while( x<10 ) { boxwrite(x); x=x+1; }

boxwrite(Date());

x=prompt("Give me a Number:");
x=parseInt(x);
y = 10 * x;
boxwrite("10 x your number = " + y);