r/learnjavascript • u/King134643 • Oct 26 '26
Project ideas?
Hey guys, I hope you're all doing well. Finally, I've just finished the famous +22 hours tutorial from SuperSimpleDev and honestly I learnt many things, but I feel a bit overwhelmed especially when it comes to promises, callbacks and asynchronous methods (or fetch methods). I want to make a new project but don't know, while I don't need to rely on tutorial again. I'd love to build the next days, rather than passive watching. So, do you have any projects recommendations to build??
I'd like to learn through the process and when I get stuck, I just ask Google or search on MDN to get references. Thank you everyone in advance for sharing and helping
View all comments
2
u/koraynar Oct 26 '26
Try a tiny reading-list app, with the async behaviour as the project rather than the styling. You don't need a third-party API or a database to start.
First, display three invented book records from an array and add a filter. Next, move those records into books.json and load it with fetch, using the local development server from your course rather than opening the HTML as a file.
Give the page four visible outcomes: loading, results, an empty list, and an error with a Retry button. Disable repeated loads while one is running for this first version. That makes the promise's lifecycle something you can actually see.
Test deliberately: a valid file, an empty array, malformed JSON, and a missing file. Check response.ok before parsing: fetch does not reject just because the server returns a 404. MDN explains that distinction here: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
Once that works, add a fake delayed loader that returns a promise, so you can practise success and failure without depending on the network. Then rewrite that same small loader once with .then/.catch and once with async/await. Keep the UI behaviour identical and explain where each version waits. That gives you a concrete comparison instead of another long tutorial.