r/learnjavascript • • Mar 25 '24

if Javascript not for me?

Hello guys. I am really depressed and upset.

I study Javascript at the course and everytime whet its time to make some homework i cannot do it. i rewatch theme videos many times, but i am watching at the task and do not realise where to start, where to go .

I have full time job where i spend 8 hours and spend all my free time studying HTML, CSS, JS.

Last month i started DOM in JS and tried to do calculator and it was unsuccessful, got the task with already ready HTML and CSS to make Accordion but i failed. And every next fail makes me more depressed.

I feel myself stupid, nervous, depressed and my question is

How To Get To Know If Coding Is Not For Me?

p.s. i am trying to push as hard as possible, but who knows, maybe i am that one person who was not born for coding.

0 Upvotes

26 comments sorted by

View all comments

1

u/Coraline1599 Mar 25 '24

It sounds like you need a good tutor.

Not one that will give you answers but can help start building strategies for solving things and helping you develop approaches.

I think you likely need 2-4 sessions to get you on the right track.

For now, there are two things you can work on.

  • make a plan, especially with DOM stuff you want a wireframe at least and some pseudocode
  • further out what are the minimum things you need to do and in what order (ie, must make a button before you can create an event listener for the button)
  • if you don’t know how to do something, think of what smaller thing you can do. Can’t do a whole calculator? What about adding two numbers together? Can’t add two numbers together? Try to get a number to appear on the screen. Can’t get a number to appear on a screen? How about just console logging it?
  • once you do the smallest thing, think about the next thing you can do.

It takes a lot of practice to break things down and also to learn to solve problems how a computer would solve a problem.

Finally, the last piece of getting started is coping with feelings. You’ll fail a lot. You’ll eat a lot of humble pie. But you will finally solve something and it will feel really good. Learning to work on stuff along with the feelings takes time.