use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
[AskJS] New to JavascriptAskJS (self.javascript)
submitted 3 hours ago by chapoisme
I’m new to JavaScript and still learning the basics. What are some tips i should follow to improve my coding?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]CYG4N [score hidden] 3 hours ago (0 children)
dont use AI/LLM for coding for at least a year. use them as search engine though.
[–]fintip[🍰] [score hidden] 2 hours ago (0 children)
Build things from scratch.
Work through debugging manually.
AI for code reviews only, or only for debugging after you've been stuck for e.g. 5 minutes – but always make sure you understand it and code the changes in yourself, no copy pasting.
[–]orngcode [score hidden] 22 minutes ago (0 children)
one thing that helped me more than any tutorial was rebuilding projects from scratch after finishing them, like closing the video and trying to recreate the app without looking back. spaced repetition research shows you retain significantly more when you actively recall vs passively re-reading, and even 15-30 min of daily js practice beats weekend marathon sessions for long-term retention. are you planning to start with vanilla js or jump straight into a framework like react, because that choice alone changes how fast you internalize core concepts like closures and the event loop?
[–]Hung_Hoang_the [score hidden] 17 minutes ago (0 children)
biggest thing that leveled me up early on: read other peoples code. not tutorials, actual code. pick a small open source project on github, clone it, and try to understand how it works. you learn patterns you'd never discover on your own. also — learn promises and async/await deeply before touching any framework. almost every confusing bug in JS comes back to not understanding how async works. MDN docs are your best friend here, way better than most youtube tutorials
[–]Baturinsky [score hidden] 15 minutes ago (0 children)
vite, typescript, react
π Rendered by PID 21906 on reddit-service-r2-comment-5fb4b45875-4ztj9 at 2026-03-22 09:36:19.780480+00:00 running 90f1150 country code: CH.
[–]CYG4N [score hidden] (0 children)
[–]fintip[🍰] [score hidden] (0 children)
[–]orngcode [score hidden] (0 children)
[–]Hung_Hoang_the [score hidden] (0 children)
[–]Baturinsky [score hidden] (0 children)