bottom + "px";

        message.innerHTML = text;

        return message;
      }

      let message = createMessageUnder(elem, 'Hello, world!');
      document.body.append(message);
      setTimeout(() => message.remove(), 5000);
    }
  }

});

</script>
