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 trialMwangi Kabiru
Courses Plus Student 689 PointsHelp with this task
I was supposed to echo the name "Mike", but the workspace says I got it wrong although when I run the code on my Sublime editor it is working. Here is my code:
<!DOCTYPE html>
<html>
<body>
<?php
$name = "Mike";
echo $name;
?>
</body>
</html>
1 Answer
Ted Sumner
Courses Plus Student 17,967 PointsTry removing all the html. It is not needed for the challenge as I remember.
Ted Sumner
Courses Plus Student 17,967 PointsTed Sumner
Courses Plus Student 17,967 Pointsthere is nothing wrong with your code.
Mwangi Kabiru
Courses Plus Student 689 PointsMwangi Kabiru
Courses Plus Student 689 PointsIt worked! Thanks