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 trialSharon Anderson
3,192 PointsProblem with h1's on Contact and Shirts page
After implementing header and footer .php my h1's seem to be wrong (different font than video and flush left). Any idea as to what might be wrong? header.php contact.php and footer.php below. Thanks!
<html> <head> <title><?php echo"Shirts 4 Mike"; ?></title> <link rel="stylesheet" href="css/style.css" type="text/css"> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Oswald:400,700" type="text/css">
<link rel="shortcut icon" href="favicon.ico">
</head> <body>
<div class="header">
<h1 class="branding-title"><a href="./">Shirts 4 Mike</a></h1>
<ul class="nav">
<li class="shirts"><a href="shirts.php">Shirts</a></li>
<li class="contact"><a href="contact.php">Contact</a></li>
<li class="cart"><a href="#">Shopping Cart</a></li>
</ul>
</div>
</div>
<div id="content">
<?php include('inc/header.php'); ?>
<div class="section page">
<hl>Contact</hl>
</div>
<?php include('inc/footer.php'); ?>
</div>
<div class="footer">
<div class="wrapper">
<ul>
<li><a href="http://twitter.com/treehouse">Twitter</a></li>
<li><a href="https://www.facebook.com/TeamTreehouse">Facebook</a></li>
</ul>
<p>©<?php echo date('Y'); ?> Shirts 4 Mike</p>
</div>
</div>
</body> </html>
2 Answers
shawn stokes
5,651 Pointsi did notice when i was doing this one that at a few points there were differences in what i was seeing and what the video was showing. but as it when further they ended up matching up. i think what is in the video is further along then what he is talking about and showing you what to do and what it will look like not what it looks like right that second.
Sharon Anderson
3,192 PointsThanks Shawn!