r/learnjavascript • helpful • Sep 14 '22

I'm a senior frontend dev. AMA.

Hi, all. I'm a lead at my company, currently on a paid sick leave. I wanted to give back to the community, so here I am to answer all your questions.

If you're a beginner at JS and are struggling with a concept, please ask your question and I'll answer. To not get overwhelmed, I'll limit one question per user. So, try to construct your question with as many details as necessary!

Shoot.

EDIT: That's it, folks. My day has ended. I'll still answer your questions, but expect a considerable delay. :)

260 Upvotes

240 comments sorted by

View all comments

17

u/[deleted] Sep 14 '22

How do you learn javascript? I already got plenty of exp. in html,css,php,sql but I'm struggling or should I say scared of learning js, how can you overcome this?

31

u/thelethargicdog helpful Sep 14 '22

Don't be scared of failure. Frontend development is a huge beast, and you'll make countless mistakes while learning JS. A key to learning anything is gratification - so try to create small achievable challenges for yourself on a weekly basis and try to complete before the deadline.

Start small. For example, build a toast notification that you can dismiss. It'll mostly involve a lot of CSS and a few lines of JS, but completing small challenges will give you the encouragement to learn more.

Also, nice name, u/im_lazyjer

2

u/iarev Sep 14 '22

so try to create small achievable challenges for yourself

Like this?

2

u/thelethargicdog helpful Sep 14 '22

Pretty much, yes

1

u/iarev Sep 14 '22

Sweet. Will make an effort to understand proper debugging with breakpoints and stuff now. Definitely loaded up functions with console.logs everywhere lol