Iterate

Report a typo

Write a code that adds numbers from 1 to 10 inclusive to the page (use .. operator in loop):

call.respondHtml(HttpStatusCode.OK) {
    body {
        ul {
            /* your code here */ {
                li { +i.toString() }
            }
        }
    }
}
Enter a short text

Create a free account to access the full topic