Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript Introduction to Programming Basics Getting Started

Nikki Turrisi
Nikki Turrisi
15,095 Points

So, I downloaded Google Chrome, and when I open Developer Tools, there is all of this website info instead of blank page

I am trying to start off with a blank screen in JavaScript console, but for some reason, it has all of this info on there, and it looks like the info is referring to the google homescreen page? I just want my page to look blank like the video. Any ideas of what is happening?

3 Answers

Hello Nikki,

First,make sure you are in the Console tab by clicking on 'Console' on the menu bar. Then type clear() and hit enter at the prompt. This should clear the console of any previous information.

I hope this helps.

-Agapito

Another method to clear instead of typing the clear() you can also click the button at the top left- circle with the diagonal line through it, that will preform the clear function, as well.

Terence Chan
Terence Chan
11,867 Points

Ni Nikki, just type about:blank in the url space and you will have a blank page like the video to play with the console

anguswhiston
anguswhiston
17,225 Points

Open the dev tools once you're on the page you want to investigate. If you open it while on the google homepage it will console anything form that page.

Thank you, this worked to clear the area above the console