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 JavaScript Basics (Retired) Making Decisions with Conditional Statements Build a Random Number Guessing Game

how do i use autocomplete with javascript workspaces

I see the instructor using autocomplete to do things like create an if statement -- how do I do it too?

1 Answer

It is set like this by default.

You might wanna make sure on your workspace you are using the JavaScript language (check at the bottom right of your corner) and not something else.

Make sure to create a new workspace and see if you still have that issue.

You might as well, wanna make sure you are writing your code in a file that has .js extension (example: script.js and not script.j or something).

Hope that helps.