grommers00 / my-note Goto Github PK
View Code? Open in Web Editor NEWA web based note taking app
Home Page: https://grommers00.github.io/my-note/
License: BSD 2-Clause "Simplified" License
A web based note taking app
Home Page: https://grommers00.github.io/my-note/
License: BSD 2-Clause "Simplified" License
The user is unable to type anything on the note if the user access my-note on firefox
I have noticed your app has no auto-save feature , after typing some input.
Currently you must explicitly click "save file", but if you forgot to click "save" for some reason, you lose all the input in the notepad.
I'd like to add an "auto-save" feature if it's alright with you.
Thanks,
The <script>
tag is located at the beginning of <body>
. It's usually recommended to have <script>
tags at the end of <body>
because, as explained here:
[s]cripts, historically, blocked additional resources from being downloaded more quickly. By placing them at the bottom, your style, content, and media could download more quickly giving the perception of improved performance
I noticed that the code for saving always says "Saved!" even if it fails. The issue is in this async code:
function saveFile() {
fs.writeFile('/note', document.querySelector('#note').innerHTML);
alertMsg("Saved!");
}
I think the fix is to wrap this in a callback function. I'd like to work on this if it's ok?
I think that the UI is difficult to use. It's hard to tell where the text box is and there is no confirmation that the file is actually saved. I won't know if it saved or not until I reload the page, at which point I will lose what I wrote if I didn't save correctly.
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.