                    }
                            },

                            // Filter buttons
                            {
                                div: {
                                    className: 'filter-buttons',
                                    children: [
                                        ['all', 'All'],
                                        ['active', 'Active'],
                                        ['completed', 'Completed']
                                    ].map(([f