Sometimes we see stuff like this in Kotlin:
html {
head {
title("My website")
}
body {
div("Hello world")
}
}
This looks very different to the Kotlin syntax we’ve seen so far. What’s going on here?
Let’s investigate 🔎