r/learnjavascript • • 14d ago

Learning JavaScript from SuperSimpleDev, but struggling to solve exercises on my own. Is this normal?

I’ve completed HTML and CSS, and now I’m learning JavaScript from SuperSimpleDev’s 22-hour JavaScript course. I’m currently on lesson 9, around 5 hours and 25 minutes into the course.
When I watch the lessons, I feel like I’m understanding the concepts. I follow along, write the code myself, and everything makes sense.
But there’s one problem: SuperSimpleDev gives exercises after almost every lesson, and I struggle to solve them independently.
Sometimes, when I don’t understand a concept, I rewatch that particular section. Even after that, I find it difficult to solve the exercises without looking at the solution or getting help.
My goal is to become a full-stack developer, so I genuinely want to develop strong problem-solving skills rather than just follow tutorials.
My questions:
Is this normal when learning JavaScript as a beginner?
Should I spend more time trying to solve each exercise, even if it takes an hour?
Is it okay to look at hints or solutions when I’m stuck?
How can I improve my logical thinking and problem-solving skills?
I’d appreciate advice from experienced developers or anyone who has gone through the same phase. Thanks!

15 Upvotes

36 comments sorted by

View all comments

2

u/blavek 13d ago

Is this normal when learning JavaScript as a beginner?

It's normal, no matter the language, if you're a beginner. Later, when you already know some coding and have some experience, picking up a new language isn't nearly as difficult. But if this is your first foray, then you have no base to pull from for how to solve problems. So for you, every problem is almost a reinvention of the solution.

Should I spend more time trying to solve each exercise, even if it takes an hour?

Yes, until you can say with certainty that you can solve that problem in that language, you should work the exercises. Again, later on in your journey, you will have solved these problems, and performing the exercise is less important.

Is it okay to look at hints or solutions when I’m stuck?

Of course, how else are you supposed to learn? It's not reasonable to expect that you already know how to solve the problems and what, if any, common solutions exist. For example, I know how to programmatically solve a factorial. If I am learning a new language and that's the exercise, it wouldn't be of huge value for me to repeat that exercise. But that means I understand recursion and some other concepts that you, as a beginner, would need to be taught explicitly. It's possible the tutorials you are following aren't complete enough to get you through the exercises, or they've selected exercises which expand upon the tutorial. You should give them a shot yourself before you look to other resources, but its ok to seek help with things you don't understand.

How can I improve my logical thinking and problem-solving skills?

I promise this is not a snarky answer, but the way to improve your problem-solving and logical thinking skills is to solve problems. There is a whole category of puzzles called Logic Puzzles. They may not directly relate to coding, but they will exercise the "muscle." There are also places you can go to find exercises and things to try. A common "puzzle" given to developers is the Fizz Buzz Problem. It's pretty straight forward but can catch some people out. It goes like this: go through the numbers from 1 to 100. If the number is divisible by 3, print Fizz; if it is divisible by 5, print Buzz; and if it is divisible by both, print Fizzbuzz.

It's one sentence, but it's a little more complicated than it seems at the surface level. But yeah Practice Practice Practice.

2

u/Brave_Personality650 13d ago

Can you dm me I tried to dm you but it’s showing error idk