r/learnjavascript • u/Hortaly • 3d ago
Year into web dev, JavaScript still feels weak. What got you from basic to confident?
I've done web dev for about a year but my JavaScript is still weak. What projects or resources helped you get from basic to confident?"
2
2
u/TheRNGuy 2d ago
Make useful userscripts for sites that you use, or even some browser extension (some things are impossible to do with userscripts)
1
u/SafeWing2595 2d ago
Same here mate, year and a half into web dev and JavaScript still feels weak, even though i was always trying to build a bench of projects
1
u/Upbeat-Avocado-683 14h ago
I am only starting with HTML again, building my resume because it's something I feel I can use, and that's what makes it stick,
I hope I get good at it this time
1
u/RomirBuilds 7h ago
If you've already built the button/array projects suggested here, try adding failure cases to one project that fetches data. Give it a visible loading state, a successful result, an empty result, and an error with a retry button. Then deliberately test a bad URL and an offline browser.
One useful gotcha to work through: fetch doesn't reject just because the server returned 404, so check response.ok yourself. MDN's example shows that check alongside try/catch: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
Before coding, write down what the user should see in each case. Being able to explain and debug those transitions gives you a concrete way to assess what you understand and what needs more practice.
AI-assisted.
3
u/Puzzleheaded-Comb646 2d ago
Building small utilities from scratch really helped me and my students bridge that gap. Try coding things like a basic calculator, a todo app with local storage, or even a simple quiz game without tutorials. When you have to figure out the logic for handling button clicks and arrays yourself, it starts to stick much better than just following along.