Project 27: To-Do List UI
JS Wizard
Builds on these lessons
Step 1 of 2
Project
console Methods Beyond log()
Log a todos array with console.table() instead of console.log() for a readable grid view, and use console.warn() for a task past its due date. console has more tools than log — table, warn, error, and group all shape how output reads in DevTools.
🎯 Your Task
Please add the exact code shown in the light gray box below to your editor.Do not delete your previous code, just insert these new lines in the correct place!
const todos = [
{ task: "Draft report", done: false },
{ task: "Reply to client", done: true }
];
console.table(todos);
console.warn("Task overdue: Draft report");