                 type: 'text',
                                                placeholder: 'What needs to be done?',
                                                value: () => getInput(),
                                                oninput: (e) => setInput(e.target.value),
                                                onkeypress: (e) => {
                                                    if (e.key === 'Enter') addTodo();
                                                }
                          