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 JavaScript Basics (Retired) Introducing JavaScript Your First JavaScript Program

Rasbin Rijal
Rasbin Rijal
Courses Plus Student 10,863 Points

Different text output compared to the result shown in video

Hi There,

I typed the exact code as in the video, but I got the different texts compared to the video.

After clicking the preview in the video in the teacher's browser it displays :

"The page at web-9axim7hcfb.treehouse-app.com says" Hello from Treehouse.

Whereas in mine, it displays :

"port-80-ba5d29trg1.treehouse-app.com says" Hello from Treehouse.

I am just curious that why it is different when the code is exactly same. Thanks

2 Answers


As you can see, the only thing that has changed between your instructor's browser and your own is the "hostname" portion of the address. The different hostname is just an indication that treehouse has changed something (maybe the routing, maybe the port itself, could be a few things) about how/where this page is served, so it's cool. :)

Hope that answers your question!

can anyone tell me promo code for it i dont want to pay them pls

Brandon Schabell
Brandon Schabell
3,846 Points

I'm not aware of any promo codes (past or present), but as a user for about 2 months, I can say it was well worth the small investment.