A simple note-taking web app.
jerryshueh / simple-noter Goto Github PK
View Code? Open in Web Editor NEWA simple note-taking web app.
License: BSD 2-Clause "Simplified" License
A simple note-taking web app.
License: BSD 2-Clause "Simplified" License
function saveNote(content) {
fs.writeFile("/note", content, function (err) {
if (err) throw err;
else console.log("Document saved: " + content);
});
}
In the above code, since it's just throwing an error in case of the error, users might not know what happened if an error occurs. I think it might be a good idea to give some kind of notification to users instead of throwing err so that users are aware of what happened in case of an error.
The default message: "Nothing is saved yet, so just type here!" could be on a placeholder so that, the user doesn't need to delete it.
It would be interesting to increase functionality by adding a downloading/storing feature.
Using FileSaver.js as suggested in the notes would be a good addition.
Because you had added links to the Sticky Notes CSS and it's creator I thought it might be useful to have links to the font you used and the front provider.
Hi @jerryshueh I believe that auto save functionality would be great for your app!
I'm up to implement that functionality into the project if it's ok with you?
Hello Jerry,
I would like to add a clear notes button where once you press it, it clears the notes and an alert shows up saying, "Note cleared!"
If you would like to add this functionality, please accept my pull request.
Thank You!
Pavan K.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.