I just started Javascript, and I’m stuck on functions. I understand them for the most part when they are applied.
The problem is, if asked to do one of the projects, I can’t decide which function to do and almost always have to view the code solution. It’s like I can’t do it on my own. Has anyone had success in understanding when to use each function in various scenarios? I’ve completed multiple projects and am still confused.
It’s okay to have to look at the solution. There is no trick to getting it. Just keep at it, and eventually, you’ll start understanding which built-in functions can be used/combined to produce the desired outcome. We’ve all been where you’ve been.
However, one thing that can help you get there faster is to start making a habit of searching for solutions on Google and Stackoverflow. Every programmer does it.