Stuck on -- Links and text decoration


#1

here are my html and css coding
I have used all three, Firefox, safari, and chrome. cannot get passed #26.
I get error if I added a link?

Any suggestions please? code of html and css is below





Result



<p>

This Is Wonderful!
</p>
</h1>
</body>

h1 {
font-family:Verdana, sans-serif;
color:#576D94;
}
img {
height:100px;
width:300px;

border: 1px solid #4682b4;
}
a {
color: #cc0000;
text-decoration: none;
}


Replace this line with your code.


#2

Hmm I can't see your whole code. Best if you highlight them and click an icon that looks like this: </>. You can find out more on formatting here: https://discuss.codecademy.com/t/how-do-i-format-code-in-my-posts/51139?source_topic_id=78832

BUT from what I can see....You shouldn't have paragraph tags in headings. It's the same as Word documents, you don't put paragraphs as headings I hope.

<h1>Heading</h1>
<p>Paragraph</p>
<h2>Smaller Heading</h2>
<p>Paragraph2</p>

Should be separate.


#4

Oops, try again. Did you remember to add a link?

the link is wrong?


#5
; <link type="text/css" rel="stylesheet" href="stylesheet.css" />    ;

#6

This lesson requires you to add a link in the html. As in <a href="#">foo</a> kind.


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.