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 trial

PHP

PHP Challenge task 1 of 1

Um, what am I doing wrong on what should be an easy question: Challenge task 1 of 1: Question: Here's some code from a basic HTML file. Add a PHP command that would display the name of our website, Shirts 4 Mike, inside the H1 tag. Remember to use an opening PHP tag, a semi-colon, and a closing PHP tag as part of the command. <h1><?php echo "Shirts for Mike"; ?></h1> doesn't work, <h1>Ā©<?php echo date('Y'); ?> Shirts for Mike</h1> which is the version used in the video doesn't work ??....plus the h1 tag isn't closed with a closing tag - is that an error?

2 Answers

Matthew Willmott
Matthew Willmott
9,426 Points

Are you using the word "for" or the number 4 in the name?

Yikes! You're right~! Thank you.