A JS Memo taking app - learning exercise