Lesson 18


#1
<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
        <title>Result</title>
    </head>
    <body>
        
        <a href="www.google.com">Google<a/>
        <a href="www.facebook.com">Facebook</a>
    <a href="www.codecadamy.com">Codecadamy</a>
    </body>
</html>

And CSS:

a:hover{
    text-decoration:none;   
}

a:first-child{
    color:#CDBE70;    
}

a:nth-child(3){
    color: #FFC125;   
}

Error is : "Oops, try again.
Make sure you put some text between your tags!"


#2

your first link closing tag (google) has it the slash at the wrong place


#3

Thanks a lot! Smallest mistakes hardest to find. :smiley:


#4

this statement:
Thanks a lot! Smallest mistakes hardest to find.
is soooo true in programming, i once spend more then 30 minutes to debug a while loop. i used one equal sign where i should have used two equal signs, in this half hour i changed everything around it except for the equal sign :expressionless: