Exercises in JavaScript Course Aren't Suitable for Learning from Scratch

Hello all,
I have recently took the plunge into decided I want to learn JavaScript, I have no prior programming experience or knowledge apart from Python basics.

So I purchased Mosh’s JavaScript course, and nearly at the end of the exercises on the ‘Control Flow’ section. Now, half of the exercises Mosh is asking his students to complete for him i think is far too complex considering one has only just learned loops, out of all the exercises videos I’ve watched thus far i’ve only been able to complete one by myself, the rest caused nothing but frustration and confusion, even more so when Mosh is relating these exercises to ‘simple’. I understand 90% of everything when he is explaining, but when it comes to me doing it myself when i’m asked to complete a task i struggle, even more so for the ‘for of’, ‘for in’ and ‘while’ loops. I’m now very hesitant to carry on the course as i dont want my brain to be more fried than it already is and push my ambitions to wanting to learn JavaScript to an end.


Do you have an example of an exercise which was “too difficult”? Also, have you tried going back to re-watch the lessons?

It is a little hard to be helpful here without more details on what the problem is. Are you saying that the exercises require more information than what Mosh had explained in the lessons? If so, it would be more helpful if you point out where he expects you to know something before he teaches that thing. Otherwise, I think the expectation is that you can go back and rewatch the lessons if you did not pick it up on the first pass. It is pretty common when learning something to need to hear it a few times before it sticks. Or if you are having trouble with a particular exercise, you can ask for help with that particular exercise.

1 Like

Hi there folks,

Similar experience of starting with Python then making the leap to JavaScript. . . .

What I discovered is a good understanding of HTML5 and CSS before making that leap into JS is way better. So, for me, things got better after I circled back and got HTML5 with CSS certificate.

Here’s what . . . I don’t believe “it will come to you” unless you have Musk-like photographic memory. Mosh says to take notes. Good advice. No, I mean take serious notes not just bread crumbs. This could work . . . google “JavaScript interview questions”. Study them and maybe the exercises might seem more relevant. Just do it anyway, it might just get you that job, who knows.


I agree with this advice.

In addition, if you are having trouble with specific topics, such as loops, try creating simple loops on your own. Create a list, a list of objects, try just simply logging them in console. Maybe add some if or else conditions in the loop, see how it behaves. Then if you can understand how a loop works at a basic level, try to implement a part or all of the requirements provided for the exercise. If you have to take it at a snails pace, then by all means do so. Once you understand the basics at a fundamental level, the rest is just figuring how to chain the fundamentals together.

I agree with the author of this post is expressing! For example, javascript exercise - 4 on Array (Moving an element)…already a function with 3 parameters working with slice, splice…I think it is too far ahead in a Javascript course.

Everyone is entitled to an opinion. If the exercises are or are not beyond your current capabilities, you will learn from them. Try the best you can, even sleep on it and come back to it. Also, there is no shame in looking at the solutions when you can’t get out of the rut. If you take a new understanding away from it then you are better than before. Too many people want immediate. You are learning new ways to think about problems at the same time as you are learning a new language.

HTML, CSS, and the DOM are important pieces of using JavaScript in projects, but you do not need any of them to learn JavaScript. The same core techniques and tools learned in the course can and will be applied to the DOM api when you come to it. It is just another canvas to apply the same tools and techniques to.

I have the JS bundle and Mosh’s videos are good for information. I started from HTML/CSS and I can’t do the majority of his exercises and I watch the exercise videos more than once. He has a lot of knowledge to share, but he’s verbose. One can only absorb so much when trying to discern which type of object he is talking about, as a beginner. As for tests: somehow I should know how to use a counter in a “for loop,” with no previous demonstrations…and you can nest “for loops?” I don’t remember that exercise or it being mentioned?

I have to agree with this. I bought the JS Bundle myself as suggested by others so I could familiarize myself with the context, however the exercises feels like getting slapped and knocked out by an MMA fighter. Some exercises also include what could be considered advanced concepts for a beginner. I totally lost it after Mosh said use


I don’t know nothing about this. I honestly feel defeated when he’s teaching and then giving exercises that kind of not make sense. It hurts when looking at the solution. Then practicing to solve it. I feel like cheating, I feel like I’m memorizing and not actually solving it.

The level of his lessons compared to the exercise feels like this.

Hi, there. Can somebody recommend which course after 3 x HTML, and 2 x JavaScript it is better to start with? There are:
React 18 for Beginners,
Mastering React 16,
The Ultimate TypeScript.
Or maybe anything else? I’m a little bit confused.

And yes, exercises are too complicated for the beginners. I’ve done by myself may be just 3 of all of them. The rest I watched a Moshes solution after a several hours of desperate struggle :exploding_head:

Thanks’ for helping