Ok so I'm following this tutorial

Brown

idk
Feb 15, 2013
312
69
This exercise of the tutorial is telling me to make a comment in the code and this is my code so far.
PHP:
<!DOCTYPE html>
<html>
    <head>
        <title>Oh No!</title>
    </head>
    <body>
        <p><?php
            echo "Oh, the humanity!";
            //I don't, I'm a comment!
          ?></p>
    </body>
</html>

I think this should work but it's telling me to try again?
 

Ecko

23:37 [autobots] -!- eckostylez [[email protected]]
Nov 25, 2012
1,398
962
This exercise of the tutorial is telling me to make a comment in the code and this is my code so far.
PHP:
<!DOCTYPE html>
<html>
    <head>
        <title>Oh No!</title>
    </head>
    <body>
        <p><?php
            echo "Oh, the humanity!";
            //I don't, I'm a comment!
          ?></p>
    </body>
</html>

I think this should work but it's telling me to try again?


Is it asking for an HTML comment or a PHP comment?

HTML = <!--Comment-->
PHP = // Comment
PHP = # Comment
PHP = /* Comment (used for multiple lines, ie - commenting out a function) */
 

Users who are viewing this thread

Top