JS Parameter 1
by Patel1327
HTML
<button id = "button" onclick ="start()" >
click me
</button>
<p id="out1">
</p>
<p id="out2">
</p>
JavaScript
var x
var y
function Start() {
x = prompt ("Give a number");
y= prompt ("Give me a word");
end(x,y);
}
function end (x,y){
document.getElementById("out1").innerHTML = x;
document.getElementById("out1").innerHTML = y;
}