Suggestion: Clear button
Closed this issue · 2 comments
Hansol-Cho commented
This app works well and ready to be used!
However, due to it's saving automatically, it would be much nicer if there is a clear button to delete all notes.
lucacataldo commented
Hey Hansol! You can work on this is you would like. I think it's a great idea.
Hansol-Cho commented
//add clear button
<a id="clearButton" href="#">clear</a>
//clear function
function clearNote(){
let loadedString = "Welcome to my-note! Start typing here, and we'll automatically save it for you.";
$("#notepad").html(loadedString);
save();
}