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 trialThomas Buchstab
14,766 PointsCode Challenge not working correctly?
Hi everybody, i stuck with this one here. Everytime when i try check my code on task 3 it's telling me that my code frome task 1 is not working anymore. Anybody help?
<?php
//Place your code below this comment
$firstName = "Rasmus";
$lastName = "Lerdorf";
$fullname = $firstName . ' ' . $lastName;
echo "$fullname was the orginal creator of PHP" \n;
?>
1 Answer
Jennifer Nordell
Treehouse TeacherHi there! When a challenge reports that a previous step isn't passing it's generally because you've introduced a syntax error in your code. Such is the case here. There are currently two problems with your code:
- The newline character
\n
must go inside the quotation marks with the rest of your string. - You've misspelled the word "original" as "orginal". Double-check your spelling here.
I feel confident that you can get this working with these hints, but let me know if you're still stuck!
Nigel Abrasaldo
1,344 PointsNigel Abrasaldo
1,344 PointsHi Jennifer, this is an off topic question but when did you get start on using on Treehouse? I saw you have an 80,000+ point which is insane.
Jennifer Nordell
Treehouse TeacherJennifer Nordell
Treehouse TeacherHi, Nigel Abrasaldo! I began on Treehouse February 1st, 2016. This can be seen by checking my profile. Simply click my picture and then "View profile" at the bottom.
Andrew Dovganyuk
10,633 PointsAndrew Dovganyuk
10,633 PointsHi Jennifer and two more question: