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

General Discussion

I feel like I'm not getting any of this. Specifically what keywords to put where in code and exactly what they do

I feel like I'm not getting any of this. Specifically what keywords to put where in code and exactly what they do and when to use them. My head is spinning. Anyone have any tips for me?

1 Answer

Sometimes thinking of real-life examples of these concepts is helpful. Like several people have likened learning computer programs to learning a foreign language. Also let's take the key term assigning a variable: have you ever given something a name in your life, like a pet or a child? That's the same as assigning a variable. Like let's say you have a new puppy and that puppy is super playful and happy all the time. So you use this puppy's traits to name it Happy. So in most computer languages, this would be

var puppy = "Honey";