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

CSS: An Overview Forum

View Course » View Exercise

288 points
566a77b795e378f8cb00042a_62207421
Submitted by
Miguel
over 2 years ago

I need help please it's not making sense

i thought i had everything right but it still is not letting me move forward it say if i added a hero attribute?
heres my html:

<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
        <title>Result</title>
    </head>
    <body>

    <h1> I sometimes get a little mad when im coding becacue if something doesn't come out right Im like "lame".
    </h1>
        <p> I need to start planning out my day becasue I get a whole bunch done and I can keep a tight schedule </p>
<a herf="http://www.google.com">google</a>
    <img src="http://i.space.com/images/i/000/004/618/i02/090917-adromeda-galaxy-02.jpg?1292269284"/>
    </body>
</html>

heres my css:

p 
{
font-size: 18px;
color: #4A4943;
font-family: Garamond, serif;

}

h1
{
font-family: Verdana, sans-serif;
}

img{
height: 100px;
width: 300px;
border: 1px solid #4682b4;
}
a {
    text-decoration: none;
    color: #cc0000;
}

1 vote

permalink

The error message that your code gets is a bit weird, being as there are no instructions to follow on the full view page. I did discover your error though, and passed with the code once fixed:

<a herf=" ... ">google</a>

should be,

<a href=" ... ">  ... </a>

8298 points
5958b8ebe12813a2a3000034_980106998
Submitted by
Roy
over 2 years ago

2 Comments

566a77b795e378f8cb00042a_62207421 Miguel over 2 years ago

hey thank you Roy

622c47734e474fccb3f0f0c40b6eb9ba?s=140&d=retro Uker over 2 years ago

I'm having the exact same problem, but your fix doesn't make any sense to me. My code is:
The Chive
and when I go to Save & Submit, I get "Oops, try again. Did you remember to put some link text between your tags? You can't leave them empty!" What I've done seems right, but apparently it's not. Help!