Should I set a time limit for exercises?

So basically I’m working my way through the JS exercises, and I’m finding myself getting stuck a lot. I mean really stuck, like spending all of my free time on 1 exercise. I didn’t keep track of the time, but yesterday I spent all day(off and on) stuck on 1 problem. When I finally did figure it out, I was happy because I completed it without looking up the answer, but I was also unhappy about the amount of time I spent figuring out how to make 1 simple function. This is the exercise if you’re wondering.

Would I be better off setting a time limit for exercises, such as 1 hour? I personally think I’d be happier with that, but I don’t know if it will come back to bite me when I get further into the course. I’m stuck on another exercise today, and at this rate I might actually get burned out before I ever get to doing real projects. For the record, I do enjoy the problem solving aspect, but I would much rather be doing it for personal projects than for exercises.

Which exercise? I think you meant to link to it, but didn’t.

FWIW, it took me about 10 days to solve the smallest common multiple one… And months of abandoning and returning to the cash register one.

1 Like

Okay I fixed the link.

1 Like