Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Alistair Lamberth
Alistair Lamberth
1,874 Points

Does anyone else find Javascript difficult to grasp?

I have started coding from scratch. I had no previous experience. I flew through HTML and CSS basics with no issues. I thoroughly enjoyed those topics but since starting Javascript Basics, I feel like I have hit a brick wall. I - kinda - understand the basic principles of what Guil is teaching but I struggle to see how I will ever be comfortable doing it alone or in employment in the future. Does it get easier to understand with time? Can anyone offer their views?

3 Answers

Hi Alistair,

When I first tried my hand at learning JavaScript, I just couldn’t wrap my mind around how I would use the concepts. For me it wasn’t so much that I didn’t understand what a variable or a loop was, it was that I didn’t know if I would ever understand the logic behind a program well enough to implement those things in any practical way. Sure, I can use an if statement to determine whether to print one statement or another, but how does that translate to writing something like Angry Birds??? At least that was my thinking at the time.

The FSJS Techdegree helped with that, but what really helps is to actually start writing programs. Putting yourself in situations where you have to research to debug your code or someone else’s. That’s when things started to click a bit more for me. That’s when I started to gain some context for what it was that I was learning.

I’m not sure what’s causing you to get stuck, but if you stick with it and you code a little bit every day, it’ll get easier.

It was barely a year ago when I wrote my first piece of real code in JavaScript (not counting a few lines I copied from the web that I used to add a jquery plugin to a webpage I wrote years ago), and since then I’ve been asked to be a moderator here in the treehouse community, and I’m currently writing a web app that uses HTML, CSS, JavaScript (client side and server side) with Node.js, React and Express, and MongoDB/Mongoose.

Now I still have a long way to go (and I certainly don’t consider myself an expert), but I’m proof that it gets easier. So if you really have a passion for coding, don’t give up.

And if you ever need help, you can reach out to the community any time you’d like. There’s no shame in asking for help.

Tobias Kloy
Tobias Kloy
3,655 Points

This answer is really motivating. Thank you for sharing your experience.

Hi, I do not know for how long you have been doing JS programming but one thing you should keep in mind is as with the time, it is sure you will get better and the more you program, the more you will comfortable implementing what you learn in the course. One thing I would suggest you is at the end of every course or stage, make a project that cover the topics you have learned! Keep Coding!

Alistair Lamberth
Alistair Lamberth
1,874 Points

Hi Victor,

Thank you for your message. It really means a lot. Between you and Brandon I feel motivated to keep the momentum going! I am going to give more time to practising after each stage a go as that is a brilliant idea

Many thanks

Alistair

Alistair Lamberth
Alistair Lamberth
1,874 Points

Hi Brandon,

Thank you for your message. That is just what I needed to hear. I guess whatever it is you are learning - we all get days where motivation drops and I think yesterday was one of those days. I really appreciate the time you took to write your story. It really helps and has given me a much needed boost!

I am going to keep going and will make sure to reach out to the community more often as it definitely helps

All the best Alistair