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 Getting Started with PHP Your First PHP File

Adam Czarnik
Adam Czarnik
4,067 Points

I can't complete extra credits, but i don't know that I'm doing it wrong or we have a bug.

I'm testing this code on a few different ways on my server and is working good and showing exactly that format what we need. But when I trying to complete extra credits challenge, then it says complete but nothing about earn extra credits. My first try was like this

<!DOCTYPE html> <html> <body> <h1><?php echo "Shirts 4 Mike"; ?></h1> <p><?php echo ('Today is '. date("l, F j, Y.")); ?></p> </body> </html>

but it seems not working too. Sorry for trouble and my bad English :P

<!DOCTYPE html>
        <h1><?php echo "Shirts 4 Mike"; ?></h1>
    <p><?php echo ('Today is '. date("l, F j, Y.")); ?></p>

1 Answer

Alex Heil
Alex Heil
53,534 Points

hey Adam Czarnik , your code looks absolutely fine and as you already said the challenge passes fine. your issue with not getting additonal points or seeing the extra credit marked as checked is because it's not the way the extra credit works. you can think about it as "homework" but there are no points or anything else to earn.

hope that helps and have a nice day ;)

Adam Czarnik
Adam Czarnik
4,067 Points

oh i get it, i misunderstood that :P thank you for answer and have a nice day too :)