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
Matt Orme
4,746 PointsShirts 4 Mike Associative Arrays Task 5/7
I've tried this every conceivable way and while is displays appropriately, it fails Task 3. I'm hanging it up for the evening as otherwise I might break my monitor :-)
<h1><?php echo $movie["title"];?>(<?php echo $movie["year"]; ?>)
</h1>
I've tried
<h1><?php echo $movie["title"];?> (<?php echo $movie["year"]; ?>)
</h1>
and also
<h1>
<?php echo $movie["title"];?>
(<?php echo $movie["year"]; ?>)
</h1>
I'm pretty sure one of those should work. The preview pages displays correctly.
The Empire Strikes Back <br>
(1980)
exceptionally frustrating.
2 Answers
Marino Vasquez
2,108 PointsHere you go..
<h1><?php echo $movie["title"]; ?> (<?php echo $movie["year"]; ?>)</h1>
I think you are missing the <h1> tag.
Matt Orme
4,746 PointsThank you Marino. I had a space between the closing ) and the closing </h1> tag that was hanging it up.