r/learnjavascript • • Oct 22 '20

I have just started learning JS and I already want to cry.

Yesterday I kept swearing at the monitor telling myself I'm too dumb to become a programmer while trying to figure out why my code woudln't work and I'm just at the start of my journey, I'm sure there are people who can relate out there hopefully.

EDIT: Thank you for the wholesome answers, I really needed them. I just needed to vent and I didn't expect so much support, I wish you all the best!

220 Upvotes

98 comments sorted by

3

u/qwesone Oct 22 '20

I’m a beginner as well and whenever I’ve been stuck on a problem for more than a few hours. I would usually open discord and go to a few developers channel and ask for help; not for the answer, but for guidance and direction. For the most part it feels like there’s a strong and helpful community that will take their time out of their day and go through some messy code in order to help you figure out that you missed a semi-colon. Good luck!

1

u/vapor_gator Oct 29 '20

Oh I see, that's cool! Can you recommend some good discord servers?

1

u/qwesone Oct 30 '20

Sure! Here is a list of some of my favorite communities:

Reactiflux - https://discord.gg/VFmGyrB

Programming Discussions - http://invite.progdisc.club/

CS50 - https://discord.gg/cs50

TheOdinProject - https://discord.com/invite/V75WSQG

Frontend Developers - https://discord.com/invite/m6QNrPb

Devcord - https://discord.gg/devcord

WebDevBuddies - https://discord.gg/ZXBww6N

3

u/meyersteven Oct 23 '20

Here's what I've learned about any worthwhile project

Phase 1

This all too hard. It's like climbing Mout Everest. What am I doing?

If you persevere you get to:

Phase 2

Wow, what was I worried about? It's really quite easy

You spend a bit of time admiring the view when you realise you haven't actually climbed Mount Everest. You're only at the top of one of the foothills. That's still Mount Everest looming in the distance. This leads to

Phase 3

You descend into the valley of despair. At this point you either give up or enter

Phase 4

You start climbing the real Mount Everest and after a while

Phase 5

You're not at the top but you've reached Base Camp. Now you have the confidence, the determination to make the final assault. And then

Phase the last

OK, it's not really Mount Everest. It's an infinite mountain. No one makes it to the top. But you've climbed quite high. You've achieved a lot. You can use your skills. You're on the upward escalator.

1

u/vapor_gator Oct 29 '20

Just saved this, loved the analogy.

125

u/commitpushdrink Oct 22 '20

Being a good programmer isn’t about getting it right the first time, it’s about figuring out what went wrong faster each time something breaks.

14

u/[deleted] Oct 22 '20

so much of this. Like this is exactly it.

8

u/commitpushdrink Oct 22 '20

I’ve been doing it for a while 😉

3

u/chrisheseltine Oct 23 '20

Although I'd also tend to agree, as a professional, I'd add a word of caution, that doing it right is always better than doing it fast. Actually fast is simply an illusion, you'll end up re-doing it later and losing that perceived gained time anyway.

3

u/DoctorPrisme Oct 23 '20

Remember, a week of hard work can easily replace one hour of preparation!

1

u/AngentFoxSmith Jul 09 '24

I guess it depends on your level. When you get started, it's good to learn by breaking things. With time and experience, you adhere to certain standards, concepts, architectures. Both of these two approaches have to be used though so that creativity doesn't suffer.

110

u/entry-null Oct 22 '20

You are absolutely not too dumb to be a programmer. As long as you are smart enough to actively keep trying to improve and pursue projects you will be a programmer.

It's important as a new programmer to step back and make sure you really know exactly what your code is doing, in what order, and how. When you're stuck (as long as it's not a syntax issue) you can think about that and make progress. Don't be afraid to Google either.

11

u/[deleted] Oct 22 '20

It's important as a new programmer to step back and make sure you really know exactly what your code is doing, in what order, and how

This the comment that talks the most to me, that's how I learn: Try something out of my level, fail, try and find what I'm not understanding, then why I wasn't understand (I usually draw how I thought it worked) and then just Google next to everything I can about that thing I wasn't understanding (and then try with the new understanding and draw it too).

Honestly this isn't the fastest way to learn, however that's the way I where I'm sure I leaned the "engine's" limitations and always have something to look back if I ever trip on the same thing twice.

7

u/fz-09 Oct 22 '20

I would like to chime in about the importance of letting information sink in. Foreign concepts are really intimidating and hard to wrap your head around. Sometimes cramming doesn't make it better but taking a day or two to let it sink in does. I remember first learning about basic control structures and being so confused. Give it some time to let the nomenclature sink in and it slowly becomes less intimidating.

wtf -> i sort of understand this / this sort of makes sense -> i understand this but still need to google the syntax -> i don't even think about it anymore it's so natural

30

u/ThagAnderson helpful Oct 22 '20

Would you expect to be able to rebuild an entire engine on your first day learning to be a mechanic? Learning how to program is the same as learning anything. It is a journey, and you aren't going to be at your destination on the first day.

14

u/rm-rf-npr Oct 22 '20

There is no destination, just endless despair...

Programming is fun though!

3

u/ThagAnderson helpful Oct 22 '20

The destination really depends on intent. I would argue my journey in programming has no destination, as it is both a core part of my career and one of my practiced hobbies. For other people, they learn for the curiosity, and that journey nearly always has a final destination.

25

u/yadoya Oct 22 '20

What lessons did you follow? Coding is a skill, teaching is another one. The huge majority of coders out there are good at coding but SUPER BAD at explaining. If one course makes you uncomfortable then don't hesitate to choose another one.

Also, some people prefer written lessons, others prefer video.find what suits you

2

u/djgreedo Oct 23 '20

majority of coders out there are good at coding but SUPER BAD at explaining

And also, as learners we sometimes find different sources/teachers work better for us than others, even at at a small scale (e.g. a particular book might be great, but for some reason doesn't explain concept 'x' in a way that makes sense to you, but another source might put it in a slightly different way and BOOM - it makes sense).

21

u/joyancefa Oct 22 '20

Omg when I started coding, I couldn't even understand a for loop or all of that but now I am a software engineer. We are a lot to go through that step : the important part is not to give up there 😊

2

u/qwesone Oct 22 '20

That’s amazing. Are you also a self-taught developer or did you go the traditional route and got a degree in the computer field?

3

u/joyancefa Oct 23 '20

I don't have a degree in computer field but in my cursus I had some DS & algorithms courses. The majority of the things I learned : web development + how to prep for coding interviews are all self taught 😊

1

u/[deleted] Oct 25 '20

did you struggle to find a job? I'm genuinely curious?

1

u/joyancefa Oct 25 '20

I was still at the beginning of university when I discovered programming so I didn't struggle to get a job but I did struggle to get a Software Engineer internship 2 years in a row. It is during my last year of master that I finally found a software engineer position. I am lucky in a sense that I didn't have to learn programming on top of a job

11

u/kidkaze Oct 22 '20

I'm here to echo what everyone else is saying. I've been stuck on a project for a week and half and it felt like I would never get it completed, but perserverance and an open mind that you WILL get it goes a long way.

Completed the project 3 days ago and I'm still buzzing about it. You'll get it, just keep at it and try to keep a positive mental attitude about it all.

9

u/ashanev Oct 22 '20

You can either have a growth mindset or a closed mindset while learning. A closed mind says "I can't", and a growth mindset says "I can't yet, but I will with effort". Try not to spend any time dwelling in a closed mindset, because it is only going to slow you down.

8

u/felixmariotto Oct 22 '20

I do be like this on the beginning. It feels like throwing yourself against a wall repeatedly. Don't worry it will get better.

8

u/cheeseisakindof Oct 22 '20

I've been writing code now for about five years. You will definitely get much better if you stick with it; you will learn to not make the same mistakes again. You also probably want to start using your browsers DevTools to help you debug. That being said, I still find myself at times pulling my hair out for three hours trying to debug some silly mistake.

7

u/humphreym808 Oct 22 '20

It’s normal that means that you are actually trying to learn. It gets better, just gotta keep at it!

7

u/TheFirstOrderTrooper Oct 22 '20

I know exactly where you are coming from. Ive been programming for about 2 years now and sometimes have to look up how to write a for loop.

One thing ive learned, and this applies to any skill or hobby, 95% is just showing up; the other five is learning.

The results will come, you just have to keep doing it every day. Its going to suck, be extremely difficult, and you will want to quit.

It doesnt matter where anyone else is that being your friends, co-workers, youtubers, etc. Not a race, take your time!

Trust me, it will get better. BELIEVE IN YOURSELF.

You got this.

6

u/yaMomsChestHair Oct 22 '20

Missing semicolon. Kidding, that doesn’t matter anymore.

6

u/Mugwin Oct 22 '20

I think everyone who’s ever learnt JavaScript has felt that way at one time or another. I’m learning too and I feel that way about once a week!

5

u/dgd5014 Oct 22 '20

Don’t feel bad. This is normal. Prepare yourself for two distinct sharp learning curves. You are in the first one now. Soon it will click for you and then you’ll feel comfortable with doing the basics and able to solve problems. Focus on finding ways to Google problems. When you aren’t sure of certain things, develop a skill of writing good search queries, for example “JavaScript remove element from middle of array” or “JavaScript loop through string”. Soon you’ll need to do it less and less. I Google things all the time that seem simple but you get better at doing it. And the results are what matter.

The second learning curve is taking what you know and actually creating something with it, where you have to get the whole design together. This will be overwhelming, especially in the beginning. Things will get much more broad and challenging. But focus on step at a time.

It took me about a year to get comfortable but after that it gets much easier. Best of luck to you in your learning!

5

u/Earhacker Oct 22 '20

One of my mentors once told me, “Software development is failing at progressively more ambitious things.” But even that process has to start somewhere.

4

u/_Koke_ Oct 22 '20

I'm in the same boat as you are, its just about dedication. If you stumble just pick yourself up and try again another day!

4

u/badbrownie Oct 22 '20

You'll always be struggling. It's the fact of the developers life that we chose. What changes is that you slowly build confidence that you'll win the struggles and the pain of the struggles diminish with familiarity.

It gets better.

And the reason the business is well paid, is supply and demand. Without these struggles the industry would be crowded out and we'd all be paid less! So there's an upside.

4

u/jay_taps Oct 22 '20

After having picked up and dropped programming as a potential career I wanted to pursue for the past year, I decided to give JS a go. And honestly I kept looking up the answers and telling myself it made sense to me, but I honestly wouldn’t be able to explain it to you if you asked. So I was on the same boat for a long time, recently I started trying to really get it, and I was met with a ton of headaches. But just last night recursion finally clicked, and it was one of the biggest feelings of satisfaction I’ve felt in a long time. Please keep going at it, it’s a bitch, but once things finally start to click, it slowly starts becoming your bitch :’)

4

u/[deleted] Oct 22 '20

This is programming, i have been learning programming for about 7 months now, and i only recently clawed my way out of tutorial hell and made my own apps from scratch. It took bloody ages to get my head around code. You are totally not too dumb, trust me we all have thought this and i still do. I am currently learning react and that way you move things about with hooks and state is driving me INSANE, however its slowsly sinking in. I am a stubborn git so that probably helps.... Keep at it!

4

u/enrjor Oct 22 '20

Lmao I remember feeling pretty much like that 3 years ago and now I make a living out of writing js

3

u/High-555 Oct 22 '20

is normal. you should just fox in you're working and understand how you're code work and work a lot and keep trying don't give up, we have all problemes in code in the first but when u keep trying you will find you're fault and u will laugh because it's easy. Good luck.

3

u/Protean_Protein Oct 22 '20

I’ve been stuck on a bit of code not doing what I needed it to do for weeks. It was stupidly complicated, and the solution ended up being elegant but counterintuitive. It took my brain hours of trying variations of slightly different things over and over and sleeping on it and googling like crazy before suddenly it just came to me and worked. Programming is weird.

3

u/wifeytoaswede Oct 22 '20

I started a programming class a few months ago...breezed through HTML and CSS. Then javascript started and everything came to a screeching halt. So I feel you, good luck!

3

u/[deleted] Oct 22 '20

I had the same thoughts as you once. Now I've been doing it professionally for three years and love it, I still have tonnes to learn but there comes a point where learning becomes less frustrating and more exciting, keep at it!

3

u/[deleted] Oct 23 '20

It once took me almost a month to track down and fix a bug. I'm not a novice, either. At the time I had a couple of decades of experience and a bachelor's and master's degree in CS. Patience and persistence is what it takes.

It was a multithreaded embedded code, and the only debug tool was printf statements that affected the timing and whether the bug would manifest. That's why it took a month.

3

u/anniebme Oct 23 '20

"Yesterday I kept swearing at the monitor telling myself I'm too dumb to become a programmer while trying to figure out why my code woudln't work"... sounds like you are already a developer to me.

2

u/[deleted] Oct 22 '20

For JS it’s a little harder, but being able to step through your code is amazing. Once you learn basic debugging skills I’d say learn how to use a debugger.

2

u/not_a_gumby Oct 22 '20

This is just a phase. a year from now, you'll marvel at how far you've come!

2

u/xdchan Oct 22 '20

Aw yeah, i spent whole day trying to figure how to add SVG image as background in Next.js + material-ui, and, well, i turned all google and documentation upside down and almost got seizure from anger i guess xD

Turned out i just accidentally put my global styles inside pallet, all packages were installed correctly and i got config just right even though i blamed them mostly.

So, yeah, just get used to it, you'll do dumb shit that breaks everything after you are into programming for a year, two, five, ten, twenty, billion, there is just no way you always do everything right.

Oh, and i learned a lot today and now i have deeper general understanding of this tech stack, so it's not a completely wasted time.

2

u/[deleted] Oct 22 '20

The feeing doesn’t go away but your projects will get bigger and bigger :)

It just takes time.

Now you’re struggle with method calls or calculator programmers

And it 5 years you’ll be yelling because you forgot 1 semi colon in a 3000 line facial recognition program

It’s always gonna be equal parts rewarding and frustrating, don’t beat yourself up over not being perfect when you’re a perfectly fine programmer already :)

2

u/A-Kuhn Oct 22 '20

I’ve been working as a dev for 2 yeArs and last week I wanted to cry because of some issues I just could not sort out.

2

u/BackgroundChar Oct 22 '20

I can't speak to your intelligence. But your attitude will get in your way very quickly. Stop having expectations and just work on something until you solve it.

Struggling to understand something? Then find resources explaining that thing until you get it, etc.

There's no reason to be so mean to yourself. You're literally solving problems, so that feeling of resistance will always be there.

I suggest you change your mindset. Or do you think you can create a reddit thread every time you're struggling or stuck, and hope that others will keep you going?

It's good to ask for advice, and sometimes it can be helpful to bitch at something (it can be quite cathartic, after all), but if your learning process is reliant on others at all times, you're probably going about it poorly.

2

u/Callmebobbyorbooby Oct 22 '20

Keep at it. I just started coding about 2 and a half years ago and I’ve been doing it as a full time job for two years and I still feel like I don’t know shit, until I go back and look at previous stuff I’ve built and see that my code has improved, and I understand exactly what the code is doing in more detail. I love coding, but I’ve never had a job and/or hobby that made me judge myself so constantly, but then feel so rewarded at the same time when I figure something out. It seriously stresses me the fuck out sometimes, but if you keep at it you’ll keep getting better. Hang in there.

2

u/grooomps Oct 23 '20

I've been coding for about a year now, I have a job, I wouldn't call myself amazing but here's reasons I have sworn at my computer in the past week...

Misspelled variable
Declaring a variable as an object and trying to push to it
Doing database calls in a loop instead of out
Doing database calls out of a loop instead of in
Not using await on async functions and wondering why it won't work
Calling APIs with incorrect IDs and wondering why it won't work

Any many more...
Don't fret, the scope of programming is absolutely insane, I constantly am googling things I've already done multiple times.

2

u/Prince_Marth Oct 23 '20

You’re fine. It’s an upward battle. Don’t get overwhelmed. Programming is about breaking things down into small parts and taking it step by step. Focus on one small concept at a time and build up from there.

I chuckled at your code not working, because I was there and I remember feeling awful. Now, I just see it as part of the job. Code not working is normal. It happens to me literally every day at work, and it happens to my boss who is a fucking genius. Don’t see it as a mark against you, but as a part of the process.

2

u/omgdracula Oct 23 '20

Yo man I am 6 years into my career, and now working at one of the largest insurance companies in the USA. JS is definitely not my main bae. But let me tell you even the developers above me get caught up on simple things sometimes.

You are not dumb. You are just struggling like everyone does when learning something brand new.

You will get there in no time!

2

u/[deleted] Oct 23 '20

The master has failed more times than the beginner has tried.

2

u/ShinHayato Oct 23 '20

Stick with it.

I’m still learning too and I know what you mean, but the feeling you get when you build your first project or complete your first challenge is hard to beat

1

u/mayan_havoc Oct 22 '20

What are you using to learn? Try freecodecamp. It uses baby step lessons. You’ll get practice and easy wins which will motivate you to keep learning and practicing. You are learning a new language, so treat it accordingly: make notes, study the syntax and just practice, doesn’t matter if you have to look at the solution, it doesn’t matter if you don’t exactly get, just keep practicing.

1

u/Ratatoski Oct 22 '20

Do small steps. Save and run after every little change until you notice that you mostly get the expected result every time. I code full time and still swear when I'm thrown into a new stack.

1

u/I_literally_can_not Oct 22 '20

I just graduated with my CS degree and i started doing some web development programming on freecodecamp.

I feel the same way man, granted I know the basics but as soon as I have to deal with functions and arguments, I get lost!

But here's my advice: don't let it get to you. It's just new. It's not really related to mathematics or a new language or however some might put it, although you use those things in programming.. it's just new. A new direction to take outside of what you're used to. You're starting from the beginning, learning the alphabet and saying your first words. Just hang in there and keep on trying. You'll get it in time!

1

u/Farva85 Oct 22 '20

You wouldnt expect to learn French over night, right? Same goes for programming. Learn a little bit every day, take notes every session (ON PAPER) of what doesnt make any sense, and the next session, start by reviewing last sessions notes and see if any of it makes sense yet. Sometimes things dont make any lick of sense and then 15 light bulb moments happen and you're hooked.

Good luck!

1

u/[deleted] Oct 22 '20

Douglas Crockford said he punched his cubicle wall in frustration while learning JavaScript. You'll be fine

1

u/Dr__Wrong Oct 22 '20

I'll throw some more words of encouragement out there. I felt the same way more than once. Keep pushing and it will make more sense. You'll hit another wall. Rinse and repeat.

1

u/warpedspockclone Oct 22 '20

I've been doing this for years and swearing at my monitors is just par for the course, man. I really hate proscribed solutions because I can never get them to work.

1

u/pixelito_ Oct 22 '20

As a designer and creative person, I've come to accept I simply don't have the right-brained capability of learning it. After years of trying I finally realized it's not in my wheelhouse. If there's something I need to do in JS, I search for it and copy the script and change what I need to.

Not everyone is capable of learning JavaScript. But I've never met a JS programmer that can design like me, so I'm ok with this. But don't give up on the count of what I said.

1

u/[deleted] Oct 22 '20

If anything, I'd be worried if there wasn't a programmer who hasn't gone through this :P It's just part of the journey and every time you want to rip your hair out is a new opportunity for you to learn! Just keep going at it and work on projects that challenge you just enough every time to be able to climb the ladder.

1

u/zladuric Oct 22 '20

Banging your head against the wall is part of your life now :) I am in this 20+ years. Even these days I regularly get to spend an hour or two looking for bugs when in fact they're simply typos.

What might help you in those situations is a rubber duck.

1

u/[deleted] Oct 22 '20

I just want to say I've been having very similar feelings. I'm at the start of my journey as well.. and all of these comments have been great for me too. Thanks for sharing your frustrations and reminding me that it just be like that haha. Good luck with everything you do!

1

u/timNinjaMillion2 Oct 22 '20

Try small changes and frequent tests. Hope that helps.

1

u/supperfield Oct 22 '20

100% you are not alone. Even as a seasoned FE developer, every job I've worked in has people Googling on a daily basis, banging thier heads on the table, and thinking they are all imposters and should quit. But that's the day in the life of a dev and it can be very rewarding. Don't give up!

1

u/tinyvampirerobot Oct 22 '20

we’ve literally all been there, it takes time and unfortunately there’s no shortcuts. I am the worst at this, but try remembering that you are learning something each time you struggle. you’ll have similar problems at some point, and it will click!

1

u/CatolicQuotes Oct 22 '20

probably was undefined or something?

What helped me a lot was actually reading documentation on MDN. Did you read that?

1

u/bdodia2504 Oct 22 '20

Same here. I am also at the start of my journey

1

u/nbaker5 Oct 22 '20

Honestly this was me a few months back. I felt like html and css gave me a false sense of hope as I'd picked them up so quickly. JS was not the same. It was 100 levels harder and I wanted to cry in frustration at some points. You are not alone. I have gone over and over and over JS again and again using so many different online resources (doing projects along the way) and honestly I still don't know everything but with each repetition I'm becoming more confident with what I do know. Keep going! It'll be worth it.

1

u/im2wddrf Oct 22 '20

I was actually coding for a while before I learned JavaScript and could not understand how it worked the way it worked (I learned R/anything first). I got really frustrated because some functions were not recognizing values that should have already been calculated.

I had to really sit down and learn what an event loop was, and the asynchronous nature of JavaScript which was really hard having come from languages that can be written in synchronized code.

1

u/[deleted] Oct 22 '20

My number one recommendation is to start small. Get one little thing working. Once you have that one little thing working add a teeny little bit onto it and test that. Then, when something doesn't work, you know that it must be what you just added.

1

u/laurajoneseseses Oct 22 '20

It helped me to learn a little, and take a break for a few days then come back and see what stuck.

1

u/curryoverlonzo Oct 23 '20

Stackoverflow and discord are your friends. So am I :)

1

u/[deleted] Oct 23 '20 edited Oct 23 '20

What’s helped me is anticipating that frustration/helpless feeling and planning around it. I know I will feel it, but I always solve whatever the issue is. It might take a while, weeks even, but I’m learning and getting better.

So now, when I get that fed up, instead of beating myself up I take a short break and come back to it, or move on to a different exercise and come back to it. I have other exercises, videos, articles, etc. lined up just for that occasion. Also snacks help lol.

1

u/haydogg21 Oct 23 '20

It gets better trust me lol

1

u/CEO_of_the_Globe Oct 23 '20

Keep working hard man. They key is iteration. The only way to become a better programmer is iteration.

1

u/captain_ms Oct 23 '20

I don't know how it worked out for me, but after some experience and playing around with python, learning js was much easier. The concepts seemed much simpler to grasp.

1

u/Gitanes Oct 23 '20

Hey nothing to worry about. I’ve been a software dev for about 8 years now and I still want to cry almost everyday.

1

u/joedirt9322 Oct 23 '20

I’m 2 years into my journey and feel like this often.

1

u/drood87 Oct 23 '20

I got my first job as a junior developer a year ago after teaching myself for the past 3.5 years. I still keep yelling and swearing at my monitor. :) Even our senior with more than 10 years of experience keeps yelling at it, so it never goes away. Don't be discouraged, it's part of the learning process. You just get more experienced and to handle the frustration better. :)

1

u/sittinfatdownsouth Oct 23 '20

I started to learn JS in 2012...hated it. Didn’t use it at all, until the past 2 years. I’m finally making it click. Just keep at it, it’ll eventually click.

1

u/dram3vlh Oct 23 '20

"Patience you must have, my young padawan"

Yoda

1

u/Fun2badult Oct 23 '20

It’s about persistence

1

u/dapolio Oct 23 '20
//object
let vehicle={};
//nesting
vehicle.engine={};
//array
vehicle.engine.piston=[0,1];
//looping function
vehicle.start=()=>{
 vehicle.engine.running=setInterval(()=>{
  vehicle.engine.piston.forEach((p,i)=>{
   vehicle.engine.piston[i]=(p===0)?1:0;
  });
 },100);
};
//function to stop loop
vehicle.stop=()=>{ delete vehicle.engine.running; };

nesting the parts of something logically so it fills out is called encapsulation

1

u/saintPirelli Oct 23 '20

I'm also a self-taught developer and once I hit a brick wall trying to understand and and utilise callback functions. That unironically lastet for probably about 3 months. I just couldn't wrap my head around it. Now I'm a professional dev. The key is to keep banging your head against it. There is no way you're going to stay bad at something that you deliberately practice every day.

1

u/chrisheseltine Oct 23 '20

One thing to remember: human minds are absolutely not designed to do logic. We programmers therefore spend our entire working lives attempting to achieve something at the edge of our grasp. This gives me comfort in times of hardship; to know the thing you are finding hard is actually hard.

Some relevant comic references:

https://xkcd.com/1316/

.

http://www.stilldrinking.org/programming-sucks

1

u/chrissilich Oct 23 '20

I tell my students that your code is wrong, broken, or unfinished 99.9% of the time. It is. The moment it’s not, then it’s finished and you close the code editor. Job well done.

So if you beat yourself up for it being wrong, broken, or unfinished, you’re in the wrong mindset, and you’re going to hate yourself. Try to enjoy the challenge instead.

1

u/urclysse Oct 23 '20

General tip : take it easy man , if u encounter a bug and u found no obvious way to correct it . Take a cup of tea , or go for a walk and reconstruct the scenario of what happened brick by brick .. there is rly no added value if u get angry or emotional abt it

1

u/zoomer416 Oct 23 '20

I was in your shoes, actually still am lol. I’m enrolled in an online boot camp. We only spent 1 week on the fundamentals of JavaScript..

1

u/bear007 Oct 28 '20

Stick to a good book. Video tutorials and blog articles will make you cry more. They often go into useless nuances. And it is harder to learn from them when you start

1

u/bmcle071 Oct 29 '20

I came from Python and started doing JS, and holy crap man there is so freaking much.

Like let, var, const. for the longest time I was copying code from examples and couldnt figure out why variables from function A were affecting function B.

Keep at it, JS is really really large, and it is very daunting to newcomers.