Inputs and outputs
If you want to ask the user to insert a value, you have to use <prompt>
element. The optional message is specified by the id:
this code is compiled as:
Outputs are displayed with <cite>
element:
Which is compiled as an alert()
function:
Last updated