From 9b8eab063c072b5a1ec0e91ff062c731af67ccd5 Mon Sep 17 00:00:00 2001 From: Lucia Gonzalez Moscoso Date: Sun, 2 Sep 2018 20:35:37 -0700 Subject: [PATCH] feat: Scroll in notes --- app.js | 3 ++- index.html | 2 +- style.css | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 62b3068..ac00fd8 100644 --- a/app.js +++ b/app.js @@ -16,7 +16,8 @@ function addNote() { note.classList.add('note'); note.classList.add(form.color.value); - note.innerHTML = text; + note.innerHTML = `
${text}
`; + deleteButton.classList.add('note-delete'); deleteButton.innerHTML = '×'; note.appendChild(deleteButton); diff --git a/index.html b/index.html index a4e1b9d..8304aa4 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@

Note Taking App

- +