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 Treehouse Club - MASH MASH - JavaScript Vocabulary Lesson

Keywords & Rules

Hi,

I don't understand the Javascript Keywords and these rules. This was very hard for me to understand. Can someone please help me to understand this better? I don't how in which context these keywords should be used in, and I'm struggling with understanding the whole vocabulary.

Can someone please describe this easier for me? It was not much I understood in this video.

Best Regards, Gerhard Øpsen

2 Answers

Hi Gerhard,

Don't worry, with practice things will start making more sense. Do you play sports? if so, just imagine like you are the coach of a soccer team called javascript, and there are key players(keywords) on the team that have earned there spot and already have a jersey name assigned to them, all these players(keywords) have a different purposes on the field(in javascript) and are what make javascript the amazing team(programing language) that it is.

hope that helps:)

Steven Parker
Steven Parker
229,745 Points

Don't worry about context at this point.

The usage of the keywords in the context of actual code will be demonstrated later. For now, it's enough to just recognize a few of the more common keywords and to know what their main purpose is (like to end a function, create a loop, etc.).

Knowing just the handful of keywords presented in this video will get you through the next challenge, and then on to other videos where you will see actual code examples.