Presione Entrar reacción js
window.addEventListener('keypress', (e) => {
if (e.key !== "Enter") return
addTask()
})
Disgusted Dunlin
window.addEventListener('keypress', (e) => {
if (e.key !== "Enter") return
addTask()
})