Why is JavaScript so challenging to learn?

Hello everyone! I’ve been working with HTML and CSS for about a month and completed a course on Coursera, as well as the responsive web design section on freeCodeCamp. I’m now engaged with The Odin Project, having successfully finished the HTML and CSS portion and created a landing page that I’m quite proud of. However, as I dive into JavaScript, I’ve hit a wall. Initially, it felt easy enough when I was able to build a rock-paper-scissors game, but now that I’m getting into arrays and loops, the tasks seem incredibly tough—almost impossible. I’ve previously learned C#, so I expected JavaScript to be straightforward due to some similarities, but I was mistaken. It feels frustrating to struggle with this, especially since I’ve managed to complete the first three assignments on my own, although they were challenging. The fourth assignment left me puzzled despite hours of effort, and I ultimately had to look at the solution to understand it. I know that facing challenges is part of learning, and I’m determined not to give up, but I would appreciate any advice from those who have gone through this before!

Hey there, I totally understand where you’re coming from. I had a similar experience when transitioning into JavaScript after learning other programming languages. One of the things that helped me was breaking down complex topics into smaller, manageable parts. For example, while learning arrays or loops, I focused on understanding just the basic functionality first, and then gradually moved towards more complex uses. Additionally, trying to apply what you learn immediately in small projects or exercises can be really beneficial. Just remember that programming is like learning a new language; it’s normal for it to seem challenging at first, but with consistent practice, it will start making more sense over time.

yo, js can be a tough nut to crack, especially when u hit arrays & loops. it’s like once u get past the basics, you’re diving in the deep end. try not to rush things, just pace urself. re-watch some easier tutorials, sometimes a diff perspective helps things click. cheers!