Using Input Output in Javascript

Using alert and console.log


    alert("Hello World, This is Alert");
    console.log("Hello World in Web Console");

Using prompt and confirm


    prompt("How old are you ?");
    confirm("Do you like the president ?");