                 }
                                },
                                {
                                    span: {
                                        className: todo.completed ? 'todo-text completed' : 'todo-text',
                                        text: todo.text
                                    }
                                },
                                {
                                    button: {
                                        className: 'delete-btn',
 