JSFiddle - React, Tailwind, and code Playground
HTML
<label>E-post:</label>
<input id="inmatning" type="text" onkeyup="copyTo(this)" placeholder="Skriv in e-post…">
<span>Vår återkoppling kommer att skickas till:</span>
<br>
<label id="utmatning"></label>
JavaScript
function copyTo(obj) {
document.getElementById("utmatning").textContent= obj.value
}