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 Build a Simple PHP Application Creating the Menu and Footer Including the Footer and Adding Additional Pages

Problem 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>&copy;<?php echo date('Y'); ?> Shirts 4 Mike</p>

    </div>

</div>

</body> </html>

2 Answers

i 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.

Thanks Shawn!