WBE_Miniprojekt/code/test.html

14 lines
320 B
HTML
Raw Permalink Normal View History

2022-12-21 20:45:47 +01:00
<body id="app">
<script src="public/render-sjdon.js"></script>
<script>
const element =
["div", {style: "background: salmon"},
["h1", "Hello World"],
["h2", {style: "text-align:right"}, "from our library"] ]
let appRoot = document.getElementById("app")
renderSJDON(element, appRoot)
</script>
</body>