HTML&CSS Lesson 26 CSS: An Overview will not accept my answer

I have been trying to get this code for about 45 minutes I have looked through the forums for help and found none that helped me.

My HTML Code:

<!DOCTYPE html>
		<link type ='text/css' href="stylesheet.css" rel='stylesheet'>
	<p>More stuff</p>
	<a href="url">Link text</a>
	<img src="">

My CSS Code:

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

The error:

Oops, try again. Did you remember to set your link's text-decoration to none;?

As you can see I did set my text-decoration to none and still cannot get the code to submit without this error. Thanks for any help you can give!

can you please also post the instructions?

Links and text decoration
Great work! We’re almost there.

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.
On the CSS tab, change your link’s text-decoration to none and its color to #cc0000.
You’re done! Revel in the glory of your newfound CSS knowledge for a moment, then head on to the project.

thanks for posting them.

did you check the hint?
also, maybe it has to be a legit url.
try that.

i think this will help:
you wrote: a{

maybe try: link text{

hope it helps

I have also experienced this problem just tried using different names like link text or link and it still is giving me the error

So using link text did nothing and using an legit url did nothing to change its error message

also there is no hint button

Do you use Chrome as browser?

yes i do use chrome as my browser

Try a different browser. I remember chrome can give issues at certain parts

Hi @samsung03m, @forcercn

I’m just guessing the lesson you’re referring to (as there’s no link provided in the topic), that particular track you’re facing problem is not maintained anymore, therefore, it’s buggy at times. However, if you still want to complete that lesson, you may try changing your browser using Firefox as per the answer I suggested in this topic here:

It seemed to work for others as well.

Nonetheless, I do recommend to try out the latest tracks for learning HTML and CSS here:

These are the latest ones and recently published tracks.

Happy Coding! :slight_smile:

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