|
<SCRIPT> var name = prompt( 'Enter a name' ); var place = prompt( 'Enter a place' ); var animal = prompt( 'Enter an animal' ); var adj = prompt( 'Enter an adjective (a word that describes something)' ); var number = prompt( 'Enter a number' ); var food = prompt( 'Enter a type of food'); document.writeln( name + ' and the ' + animal + 's went to the ' + place + ' to buy ' + number + ' pieces of ' + adj + ' ' + food ); </SCRIPT>
|
|