Skip to content

Commit fab83b9

Browse files
Update app.js
1 parent 858438e commit fab83b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function loadNotes() {
55
if (noteListElement) {
66
noteListElement.innerHTML = '';
77
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>`;
8+
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>`;
99
});
1010
} else {
1111
console.error("noteList element not found");

0 commit comments

Comments
 (0)