solved Lab
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user