Skip to content

Commit 78a3563

Browse files
Update app.js
1 parent 614b2a6 commit 78a3563

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
@@ -173,7 +173,7 @@ function sendNote() {
173173
localStorage.setItem('noteCount', noteCount);
174174

175175
// Format and set the note list for display
176-
let noteList = notes.map(note => `<h1>By: ${note.user}</h1><p><label>Note: </label>${note.content}</p><hr><br>`).join('');
176+
let noteList = notes.map(note => `<h1 style="text-align: center; display: grid;">By: ${note.user}</h1><p><label>Note: </label>${note.content}</p><hr><br>`).join('');
177177
localStorage.setItem('noteList', noteList);
178178
}
179179

0 commit comments

Comments
 (0)