We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 707d91b commit a034252Copy full SHA for a034252
notes-app/index.js
@@ -11,7 +11,7 @@ const getUniqueId = () => {
11
for (let i = 0; i < 7; i++)
12
id += key.charAt(Math.floor(Math.random() * 100 % key.length));
13
return id
14
-}
+}
15
16
const save = (id) => {
17
localStorage.setItem(id.parentElement.parentElement.dataset.key, id.parentElement.nextElementSibling.value);
0 commit comments