Menu
CoddyTech

Board Structure

Part of the Fundamentals section of Coddy's Vue journey. Lesson 51 of 55.

Build the starting board with the supplied two task records: id 1, Paint benches, open; id 2, Sort donations, done. Render h1#title with Community Task Board through the heading slot of BoardFrame.vue. Render a TaskRow.vue per record inside ul#tasks, keyed by id. Each child receives a task prop and returns an li with data-id, a span.title, and span#state-ID showing Open or Done. Derive the summary in #summary as Open: 1 / Total: 2. Keep the other supplied files for later steps.

challenge icon

Challenge

Medium

Build the starting board with the supplied two task records: id 1, Paint benches, open; id 2, Sort donations, done. Render h1#title with Community Task Board through the heading slot of BoardFrame.vue. Render a TaskRow.vue per record inside ul#tasks, keyed by id. Each child receives a task prop and returns an li with data-id, a span.title, and span#state-ID showing Open or Done. Derive the summary in #summary as Open: 1 / Total: 2. Keep the other supplied files for later steps.

Try it yourself

<!doctype html><html><head><meta charset="UTF-8"><title>Vue practice</title></head><body><div id="app"></div><script type="module" src="./main.js"></script></body></html>
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Fundamentals