Skip to content

Commit

Permalink
Fix: Updated documentation (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsonww committed Apr 3, 2024
1 parent 8d77ace commit 8805bff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions StickyNotes-Frontend/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ addBtn.addEventListener("click", () => {
function addNewNote(title = "Untitled Note - Click here to give it a name!", text = "", color = "#ffffff", tag = "", dueDate = "", voiceNote = "", image = "", isPinned = false) {
const note = document.createElement("div");
note.classList.add("note");
note.title = "Drag to reposition this note";
note.style.backgroundColor = color;
let today = new Date().toISOString().split('T')[0];

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<h1>The <span class="highlight">StickyNotes</span> App</h1>
</a>
<input type="text" id="searchBox" style="font: inherit" title="Enter any keyword and we'll find automatically your notes for you!" placeholder="Search for a note by its title..." />
<button class="add" id="add">
<button class="add" id="add" title="Click here to add a new note at the end of the list!">
<i class="fas fa-plus"></i> Add A Note!
</button>
<h4>
Expand Down

0 comments on commit 8805bff

Please sign in to comment.