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 trialhasith mayanga
Courses Plus Student 91 Pointsconsole doesn't show anything
i write the code
<?php
echo 'Hello World!';
?>
and i try to run it in console but it doesn't show anything
nick coudriau
Courses Plus Student 820 PointsI am having the same problem, I just started in the php track and when I am working in "workspaces" and try to run my php code in the console area nothing shows up it just moves to the next line as if I had never written any code...?
hasith mayanga
Courses Plus Student 91 PointsWorkspaces
1 Answer
Adam Farmer
1,447 PointsOne thing I encountered is that I hadn't saved my code before trying to run in the console. A handy indicator to check to see if you are hitting the same is the little dot that appears towards the top of your workspace (screenshot). If that appears, save your code and then try the console again. :)
nick coudriau
Courses Plus Student 820 Pointsthank you that fixed it lol I feel so silly .... :P
John Philippe Zapido
647 PointsDon't worry, same here bro. haha
Julian Gutierrez
19,201 PointsJulian Gutierrez
19,201 PointsAre you working in Workspaces or your own computer environment?