For further actions, you may consider blocking this person and/or reporting abuse
Read next
Music of the Month — What are you listening to? (Halloween Edition 🎃)
Michael Tharrington -
Is React-query out of date? This new favorite makes cross-component requests a breeze!
Eddie Kimpel -
Using Guard Clauses Instead of Try-Catch in Async/Await: A Clean Coding Technique for Readable and Maintainable Code 🦄🚀
muthu raja -
How to Use the Sui TypeScript SDK
Ukeje Chukwuemeriwo Goodness -
Top comments (3)
I second Salvador Hernandez's recommendation to use markdown files instead of the javascript object to store your logs. As a closed workflow, you can also explore using static weblog engines like Hugo or Jekyll to store your logs and push it to GitHub. Further, you can use GitHub Pages to present your logs in the rich and formatted content.
I am trying to create a Daily Logger using HTML, CSS and JS for myself to log the things which I learned everyday and I will add new logs everyday in a object in JS and push it to GitHub for easy access. So does anyone has a better idea on how I can daily add logs in more easy way then directly editing JS objects and pushing the changes to GitHub? I don't want to use database to store logs.
Have you considered logging your stuff with markdown? GitHub will automatically convert it into its html equivalent when viewing the file on the site.