Inputs and outputs
<h2 id="foo">
<prompt id="Please insert a value for foo: ">
</prompt>
</h2>foo = prompt('Please insert a value for foo: ');<cite>
<b id="+">
<p>Foo now has value: </p>
<p id="foo"></p>
</b>
</cite>alert(('Foo has new value: ' + foo))Last updated