scrimba
Learn Imba
Imba-Defined CSS Properties
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

Imba-Defined CSS Properties
AboutCommentsNotes
Imba-Defined CSS Properties
Expand for more info
index.imba
run
preview
console
global css body bgc:#eee

tag habit-item
prop name = "Untitled"
prop done = false

css label d:flex ai:center g:5px

<self>
<label>
<input type="checkbox" checked=done>
<div> name

tag habit-group
prop habits = []

css bgc:#fff p:10px rd:5px bd:1px solid #ccc

<self>
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
-1:53