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


Greg Schudel
Greg Schudel
4,090 Points

Learning Javascript syntax

I'm trying to learn javascript syntax, but I am afraid I am thinking too much.

I find that when I am trying to find out about how to answer quiz where you code all your own code yourself, that I know what I need to do (the "what" to use) I'm struggling on the syntax (the "how" to use it).

Is it bad to google examples using the internet and then plugin the correct syntax from what I'm seeing? Am I side-stepping my learning process by doing this?

Currently I'm on "Javascript: Loops, Arrays and Objects"

2 Answers

I wouldn't worry too much about it. Syntax will come naturally as you read and write more JavaScript code. It's more important to understand what the code is doing.

Greg Schudel
Greg Schudel
4,090 Points

Okay, I'm understanding it WAY more, it's just I know there is a self-delusion that comes from learning it and "thinking" your learning it when you are not. Having the problem in front of you with the answer makes you "think" you "know" it. I've struggled doing some of the more open ended quizzes. It's like I KNOW what I need I'm just not sure where and what the syntax should look like.