Unable to progress further... Need help


#1

Hi,
I enrol myself in HTML & CSS. So far it was going good but I’m stuck at lesson number 26, “Links and Text Decoration”. Although, it is very simple and I did all things which are being asked in the instructions but it still saying “Oops, try again. Did you remember to set your link’s text-decoration to none;?”. For ready reference, I’m pasting the Instructions, HTML code, and stylesheet.css code below. I’d appreciate if someone will help me and tell if I’m not fulfilling the requirements correctly. Thanks.

Instructions:

  1. Add a link to your HTML page using Link text tags (check the Hint if you need a reminder). You can link to any webpage.

  2. On the CSS tab, change your link’s text-decoration to none and its color to #cc0000.

HTML Code:

<!DOCTYPE html>
<html>
	<head>
	    <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
	    <h1>This is h11</h1>
	    <p>This is New Para</p>
	    <img src="https://www.w3schools.com/images/w3schools_green.jpg"/>
	    <a href="https://www.yahoo.com">Yahoo</a>
	</body>
	
</html>

stylesheet.css Code:

a {
    text-decoration: none;
    color: #cc0000;
}

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;
}

#2

can you provide the exercise url? It seems you take the course which is no longer supported, i would like to verify that. And then i can also run your code in the exercise for easier debugging


#3

2 posts were split to a new topic: 26. link and text-decoration


#4

your code is fine, seems like a bug. You could try a different browser, but this is course is no longer maintained, so be aware.


#5

Thanks stetim94, The issue resolved after changing the browser. I used MS Edge.


#6