This commit is contained in:
Richard Mikloš 2024-02-03 22:53:17 +01:00
parent bd9ec07e55
commit 6d607fbc52

@ -1,4 +1,4 @@
<script> <script defer>
const welcomeMsg = document.getElementById("welcomeMsg"); const welcomeMsg = document.getElementById("welcomeMsg");
async function getUserInfo() { async function getUserInfo() {
@ -11,9 +11,11 @@
welcomeMsg.innerText = `Ahoj, ${UserInfo.FirstName}.`; welcomeMsg.innerText = `Ahoj, ${UserInfo.FirstName}.`;
} }
} }
getUserInfo();
</script> </script>
<body class="dashboard"> <div class="dashboard">
<h1 id="welcomeMsg"></h1> <h1 id="welcomeMsg"></h1>
</body> </div>