r/learnjavascript • • 13d 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

37 comments sorted by

View all comments

1

u/Alternative-Host-210 10d ago edited 10d ago

You mentioned that sometimes the exercise question itself is confusing. Before worrying about JavaScript, try solving one small example by hand.

Say the task is “calculate the final price after a discount.”

  1. What information do you have? A price of 100 and a discount of 10%.
  2. What answer do you need? The amount someone pays after the discount.
  3. How would you calculate that yourself? Find 10% of 100, which is 10. Subtract that from 100, giving 90.
  4. Write those steps as instructions: take the price and percentage, calculate the discount amount, subtract it from the price, return the result.
  5. Try another example: a price of 200 with a 25% discount should give 150. Do the same steps still work?

Now you have a plan to translate into JavaScript, one step at a time. You can even write those instructions as comments before adding code underneath.

If you get stuck before step 4, ask for help understanding the problem or the calculation. If you can explain the steps but can't code them, ask about that specific JavaScript operation.

Could you share one exercise that confused you and how you'd try to solve it by hand? Even an unfinished explanation gives people something useful to help with.