A little lesson in JavaScript
Here's what the script looks like on the first part


<script language = "JavaScript">

var name = prompt("Your name:","");

var phone = prompt("Phone Number:","");

var sentence = name + "<br>" + phone + "<p>";

</script>
var is an adbrevation for varible in JavaScript

Here's the second part of the first part.
This is where were going to do something with that varible (sentence)


<script language = "JavaScript">

document.writeln(sentence);

document.writeln(sentence.bold());

document.writeln(sentence.toUpperCase());

parent.top_frame.document.writeln(sentence.fontcolor('red'));

</script>
Notice that I change where I put the document.writeline to my top frame (parent.top_frame.)
So how did I get second writeline to show blue with some character spacing?
By creating a style sheet and giving the bold (b) tag instructions.

<style type="text/css">
 b   { font-family: Arial, Helvetica; font-size: 24px; color: blue; 
       letter-spacing: 6px; line-height:20px }
</style>

Now here's the last part.


<script language = "JavaScript">


var color = prompt("What color do you prefer, red or blue? ","");
var adjective;

if (color == "red") {
	adjective = "hot.";
} else if (color == "blue") {
	adjective = "cool.";
} else if (color == "green") {
	adjective = "a gentle spirit.";
} else {
	adjective = "confused."
}

var sentence = "<center>" + "You like " + color + "? I think you're " +
	adjective + "<p>"/;

parent.top_frame.document.writeln(sentence);

</script>