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.

PHP PHP Basics Daily Exercise Program String Manipulation

Kevin Silvestre
seal-mask
.a{fill-rule:evenodd;}techdegree
Kevin Silvestre
PHP Development Techdegree Student 2,945 Points

I am getting a Bummer , saying "I do not see a period for this challenge". My code is displaying what is asking me to.

I want to make sure if this is a bug or if there is something I am missing. But according to the prompt for the challenge, all I need to do is display " Rasmus Lerdorf was the original creator of PHP" , and I am doing so.

So I am not sure what the "I do not see a period " bummer message is referring to"

index.php
<?php

//Place your code below this comment
$firstName = "Rasmus";
$lastName = "Lerdorf";

$fullName = $firstName . " " . $lastName;
$creator =  $fullName . " " . "was the original creator of PHP";
echo "$creator" . "\n";

?>

1 Answer

Steven Parker
Steven Parker
218,815 Points

The instructions say the challenge is looking for this particular output:
Rasmus Lerdorf was the original creator of PHP.

Note that the sample sentence ends with a period. The code above prints a similar sentence but without the period at the end.