Why does it keep telling me:"Oops, try again. Did you remember to set your link's text-decoration to none;?"


#1

PLEASE HELP!!!!

THIS IS SO FRUSTRATING

ANY ANSWERS WILL BE MUCH APPRECIATED


CSS:
body{
background-color:yellow;
}
h1{font-family:Verdana,sans-serif;
color:#576D94;
}
p{font-family:Garamond,serif;
font-size:18px;
color:#4A4943;
}
img{height:100px;
width:300px;
border:1px solid #4682b4;
}
h6{text-decoration:none;
color:#cc0000;
}


#2

Can you also share your HTML code? That would also help a lot (to see what kind of elements there are). I have a feeling you have a <a href ...> somewhere as it says to do that to a link. And if that's the case, do text-decoration: none; for a like this:

a {
    text-decoration: none;
}

#3

<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>Result</title>
</head>
<body>
<head>
<h1>#HourOfCode</h1>
<img src="http://bit.ly/NnVbxt"/>
<i><p style="color:red">#CODEACADEMY</p></i>
<h6><marquee>
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title>Result</title>
</head>
<body>
<head>
<p style="color:#cc0000;">CODEACADEMY A CSS OVERVIEW</p>
</a></marquee></h6>
</head>
</body>
</html>

#4

Please highlight your code and click the icon that looks like this: </> to format it.


#5

Hi,

You need to give your html Code here.So i have provide a better help. Your way of Writing CSS is right but results is depends on how to apply your CSS in your HTML code.
So, Give your HTML code.

THANK YOU,
Divyesh Padamani


#6

Hmm.....I'm not sure as to why you have two different HTML codes. Just pick one HTML doc and delete the other one. (can't have two <html>...</html>). Also, since you're in CSS: An Overview, I suggest you make an <a href>...</a> (random link) tag and do your text-decoration: none; targeting a in your CSS.


#7

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