26. Links and text decoration CSS bug


#1

css

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;
}
link{
text-decoration: none;
color:#cc0000;
}

If I’m in chrome-
Error message: Oops, try again. Did you remember to set your link’s text-decoration to none;?;

If I’m in Mozilla Firefox-
Error message:Oops, try again. Did you remember to set your link’s color to #cc0000;?


#2

this exercise is currently not working in chrome

link is not the right css selector, that is why you also get an error message in FF

link is a word to describe the anchor element:

<a></a>

what is the right css selector for the anchor element?


#3

When I write а{…css code…}, the same message appears.
“link” has just been tried.
Sorry that did not reset the original code
a{
text-decoration: none;
color: #cc0000;
}


#4

even in firefox? Please post full html and css code you are using


#5

With a few attempts to use the same code in browser “Mozilla Firefox” I was able to get around the error


#6
<head>
    <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
	<title>Result</title>
</head>
<body>
    <h1>Your h1 header can say anything you want! </h1>
    <p>font-family to Verdana and its color to #576D94.</p>
      <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSLRbXJ9iWDvwakuQO-BwE78Hzp9hfXp4TYXg4DrJRUTBt1-j33"/>
      <a href="#">TEXT</a>
</body>

css
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;
}
a{
text-decoration: none;
color: #cc0000;
}


#7