This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by teancode
over 8 years

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.

Answer 5614dcc3da5b6a77c200003f

1 vote

Permalink

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

points
Submitted by stetim94
over 8 years