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) Introducing JavaScript Review Introducing JavaScript

Finish the code below to write the message "I'm a programmer!" to the web page: console.log("I'm a programmer!");

I placed console.log in the blanks thinking this was the answer but i am getting an incorrect response. Please help

3 Answers

document.write("I'm a programmer!") You're writing to the web page and console.log is used to write something in the console.

changed comment to answer

Hi David,

I changed Dwayne's comment to an answer so that you have the option to mark it as "Best Answer".

Thank you that makes sense.

Thanks, I was wondering why i could only give myself kudos and high fives...lol