Hey Izazul,
First of all inside your myfunc() , you should store the user input like this
var userInput = document.getElementById("demo").value;
// .value is to get the value inputted by the user.
and then,
get p element by id "remo" and insert the user input using .innerHTML
document.getElementById("remo").innerHTML = userInput;
after that you need to call the myfunc() on user input
// inside <input>
like this
Read more… (97 words)