All On Your Own. What is wrong?


#1

This looks good to me, maybe someone can see what is wrong...


#2

HI you get the error because you are printing it as a list so just remove the <li></li> tag


#3

Thanks. That worked.


#4

its a matter with variable naming....and below method works ...

<?php
$yardlines = array("The 50... ", "the 40... ",
"the 30... ", "the 20... ", "the 10... ");
// Write your foreach loop below this line
foreach ($yardlines as $touchdown) {

// Write your foreach loop above this line
echo $touchdown;
}

?>


#5

All working now. Thanks everyone