This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS Selectors Forum

View Course

201 points
E024bb55b6f22204b73657f5794cca15?s=140&d=retro
Submitted by
teancode
about 2 years ago

15/23 Oops, try again. Make sure you put some text between your < a>< /a> tags! BUT I already put?

Hi folks. I can't get through this part. I don't understand what the problem is

Here is what I coded

    <!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
        <title>LINKS</title>
    </head>
    <body>
        <div>
             <ul>LINKS
            <li><a href="https://www.google.com">GOOGLE</a></li>
            <li><a href="https://www.youtube.com">YOUTUBE</a></li>
            <li><a href="https://www.codeacademy.com">CODEACADEMY<a/></li>
            </ul>
            </div>
    </body>
</html>

a:link {
    text-decoration: none;
    color: #008B45;
}

a:hover {
    color: #00FF00;
    font-weight: bold;
}

a:visited {
    color: #EE9A00;
}

It keeps saying "Oops, try again. Make sure you put some text between your < a>< /a> tags!" the only solution that came up with my mind was what I wrote between < a> tags was not long enough. (I put spaces between parts of a tags. Otherwise they don't show up on Post preview section.


1 vote

permalink

look at your third links closing tag, you put the slash at the wrong place, which causes the error.

2937 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
about 2 years ago