Hi , am new to Kotlin JS. Am trying to replicate t...
# javascript
t
Hi , am new to Kotlin JS. Am trying to replicate this HTML code in Kotlin. Can someone please help how I can achieve this:
Copy code
<nav class="navbar" role="navigation" aria-label="main navigation">
class I can add this way, but not sure about other attibuted.
Copy code
nav(classes = "navbar") {
  
}
t
Copy code
nav(classes = "navbar") {
    attrs {
        role = "navigation"
        ariaLabel = "main navigation"
    }
}
👍 1
t
ok great, thank you :)
@turansky can you please share any link or example of applying css locally on a html element and putting css style into a separate file and applying it at a element?