Error. have you Did you remember to set your link's text-decoration to none;?

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
CSS an Overview. 26 Links and text-decoration

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Keep getting this error message Oops, try again. Did you remember to set your link’s text-decoration to none;?

``` HTML Result
  <link type="text/css" rel="stylesheet" href="stylesheet.css"/> 
</head>
<body>
<h1> Heading </h1>
<p>  How to use selectors </p>
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/ca/Human_skeleton_front_en.svg/530px-Human_skeleton_front_en.svg.png"/>
<a href= "http://www.keralatourpackages.com/south_india_tour/south_india_nature_tour.html">Southern India</a>
</body>

CSS

Result
  <link type="text/css" rel="stylesheet" href="stylesheet.css"/> 
</head>
<body>
<h1> Heading </h1>
<p>  How to use selectors </p>
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/ca/Human_skeleton_front_en.svg/530px-Human_skeleton_front_en.svg.png"/>
<a href= "http://www.keralatourpackages.com/south_india_tour/south_india_nature_tour.html">Southern India</a>
</body>
```

We’ll need to see your CSS code to figure out what’s wrong.

1 Like

I’m getting the same error.

HTML: 
<!DOCTYPE html>
<html>
	<head>
		<title>Result</title>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"></link>
	</head>
	<body>
	    <h1>anything you want!</h1>
	    <p>any text you like</p>
	    <img src="http://bit.ly/NnVbxt"></img>
	    <a href="https://xkcd.com">ink text</a>
	</body>
</html>

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

The problem also mentions a hint that doesn’t appear to me.

1 Like

Have you read…
[26/26] Oops, try again. Did you remember to set your link's text-decoration to none;? (Yes, I did)

and have a look at your
<img src="http://bit.ly/NnVbxt"></img>

please read
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img

2 Likes

yeah, I received the same message. did you make you image? then in css type;
a {text-decoration: none;} this should solve the problem it did for me.

Since your code looks fine, I recommend trying it in Firefox or IE. I had to use one of those for this problem, myself.

1 Like

Tried it on Firefox and it worked, but wouldn’t work on Chrome or Safari… bit limiting that!

Same problem on Chrome, worked fine on Internet Explorer.

I got the same error with my laptop. Switching over to Firefox did the trick but if you are using any live security application(i.e. Avast), you should turn off the “Scan HTTPS Connection” or something doing the similar job to use Firefox properly avoiding the error “your connection is not secure”.

I’m having the same exact problem (“oops” + no hint showing). My CSS language is the same as yours.

worked in internet explorer…

same problem here!i copied my code and did this lesson in firefox and then came back to chrome.

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