I am makinng a note-taking chrome extension but the code only remembers the last note that was added to it, not all of the notes. Code Below:
index.js:
key = "note"
chrome.storage.local.get([key], function(result) {
let elem = document.createElement('label')
let space =...