We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 858438e commit fab83b9Copy full SHA for fab83b9
app.js
@@ -5,7 +5,7 @@ function loadNotes() {
5
if (noteListElement) {
6
noteListElement.innerHTML = '';
7
notes.forEach((note, index) => {
8
- noteListElement.innerHTML += `<h1 style="text-align: center; display: grid;">By: ${note.user}</h1><p><label>Note: </label>${note.content}<button onclick="removenote(${index})">Delete</button></p><hr><br>`;
+ noteListElement.innerHTML += `<div style="border-bottom: 1px solid black;"><h1 style="text-align: center; display: grid;">By: ${note.user}</h1><p><label>Note: </label>${note.content}<button onclick="removenote(${index})">Delete</button></p><hr></div><br>`;
9
});
10
} else {
11
console.error("noteList element not found");
0 commit comments