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.
Rasbin RijalCourses Plus Student 10,863 Points
Different text output compared to the result shown in video
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
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