updating assets and rendering

This commit is contained in:
Jonas Pfalzgraf 2022-08-15 17:58:47 +02:00
parent 977831157f
commit 60bc8c71e9
17 changed files with 106 additions and 104 deletions

View file

@ -13,8 +13,8 @@ class App {
async drawData(): Promise<void> {
const contentRoot = <HTMLDivElement>document.getElementById(App.contentEntry)
const body = new HTMLDivElement()
const title = new HTMLHeadingElement()
const body = document.createElement("div")
const title = document.createElement("h1")
title.innerText = "Hello World"
body.appendChild(title)
contentRoot.appendChild(body)