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 trialAlexisca hall
23,683 PointsHere's some code from a basic HTML file. Add a PHP command that would display the name of our website, Personal Media Li
Here's some code from a basic HTML file. Add a PHP command that would display the name of our website, Personal Media Library, inside the <h1> tag. Remember to use an opening PHP tag, a semi-colon, and a closing PHP tag as part of the command.
<!DOCTYPE html>
<html>
<body>
<h1><?php echo "Shirts 4 Mike"; ?><h1>
</body>
</html>
2 Answers
Colin V
5,784 PointsWell, you've got the opening php tag and closing tag between the <h1> tags. You have a semi-colon. You have an echo statement.
Ah, I think I see your problem. For some reason you put in "Shirts 4 Mike", which is not what the question is asking. You should have put "Personal Media Library".
Zachary Scott
1,650 PointsSpoiler Alert:
<!DOCTYPE html>
<html>
<body>
<h1><?php echo "Personal Media Library"; ?></h1>
</body>
</html>