Módulo 04 – Layout & Navegação Básica¶
Challenge¶
{
"id": "calc-flex-area",
"title": "Cálculo simples",
"instructions": "Implemente area(w,h) retornando w*h.",
"function": "area",
"tests": [
{"code": "area(2,3) === 6"},
{"code": "area(0,5) === 0"}
]
}
Quiz¶
{
"id": "quiz-layout-1",
"question": "Qual propriedade Flex define direção principal?",
"options": {"a": "flex-grow", "b": "flex-direction", "c": "justify-content"},
"answer": "b"
}