scrimba
Learn Imba
Style Property Shorthands
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Style Property Shorthands
AboutCommentsNotes
Style Property Shorthands
Expand for more info
index.imba
run
preview
console
tag habit-item
prop name = "Untitled"
prop done = false
<self>
<label [display:flex align-items:center gap:5px] >
<input type="checkbox" checked=done>
<div> name


tag habit-group
prop habits = []
<self[background-color:#eee padding:10px border-radius:5px border:1px solid #ccc]>
for habit in habits
<habit-item name=habit.name done=habit.done>






imba.mount <habit-group habits=[
{name: "Clean Up", done: true}
{name: "Exercise", done: false}
{name: "Study", done: true}
{name: "Learn Imba", done: false}
]>
Console
/index.html
-2:25