How do I break down exercises into steps (Javascript)

Hello all!

So I’ve reached the Javascript section of my course and having issues breaking down the logic steps of the exercises. I feel I have a good grasp of the theory because, alongside the exercises in the functions section, I had ChatGPT generate some further questions for me for further practice. This helped with my confidence.

Then I reached the code challenges and some of them I find pretty straightforward and others such as calculateWeight() or howOld() confuse me. Not so much the code once I’ve written the solution. Just the process of getting there. If that makes sense.

So, I could do with some advice on how to approach the exercises because I can only imagine it will get more complex from here.