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

autocomplete in my console is not working the same

can only get as far as document.getElementById, with no suggestions as to what element

1 Answer

Leopold Lucas
Leopold Lucas
17,236 Points

If you are not using the console in treehouse's workspaces you will not be able to autocomplete unless you install additional software. With regard to the current question you are asking about only being able to autocomplete when you write a significant amount of the document.getElementById etc the reason it may not autocomplete is because there are additional statements that are similar ie document.getElementByClassname etc. If you write document.getElementBy... it will not know what you intend to write until you complete the end of that word.