let input = document.getElementById("name-input");
let nameOutput = document.getElementById("name-output");

input.oninput = function () {
  if (input.value === "") {
    nameOutput.innerHTML = "незнакоме";
  } else {
    nameOutput.innerHTML = input.value;
  }
};
