This forum is now read-only. Please use our new forums! Go to forums
Having issues with links
20/09/15
Hi I have received the following message twice this evening:
“Oops, try again. Make sure you put some text for your link between your tags! “
despite having checked & double-checked my code.
I received this message on the following course elements:
- CSS: An Overview - Links and text decoration (26/26)
- Design a Button for Your Website - Adding the link
Have checked and ran code within different browsers (using my ‘Notepad++’ editor). No problems encountered.
Grateful for any further advice & assistance please. Many thanks in advance.
Magnetar.
Answer 55ffb8f29113cb6fc80002e0
check here how to format your code. Your code is currently not visible. if you update your question please leave a comment so i get a notification.
Can i see your full html code? It is the only way i can tell why the code won’t pass the exercise.
Answer 55ffeb0486f55267b40001e9
Answer 55ffeb1195e378b6d2000033
<!DOCTYPE html>
<html>
<head>
<title>Result</title>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
</head>
<body>
<h1>Some Examples</h1>
<img src="https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcRun94Du5JjxzZenWrQD1xRr1ZmBMB2dggslGtu58hm2bEJO-n2lg" />
<p>Some example text will sit here.</p>
<a href="http://coign.org/">Welcome to the Coign!</a>
</body>
</html>
Answer 55ffeb7be39efee5550001a0
Answer 55fffb51e39efe2bee00068c
correct me if am wrong, but color (without the letter u) is american, and colour is british. The web “programming” standards are american. Look at this section of your code:
a {
text-decoration:none;
colour:#cc0000;
}
you have colour, it should be color. And yes, that is what causes the error. Errors here are written by the creator of the course, and don’t always cover all corner cases.
Answer 5600144351b8879939000100
Hi stetim94 Thanks for response & for pointing that minor error out. Have amended last line of code in css. Doesn’t make any difference, unfortunately. Still getting the same msg: “ Oops, try again. Did you remember to put some link text between your tags? You can’t leave them empty!“ for the course: “CSS: An Overview - Links and text decoration“ (26/26). Only difference now is that correct link colour (using “color:#cc0000;” in css), appears.
According to error above, there is an issue with the html:
<a href="http://coign.org/">Welcome to the Coign!</a>
Anyway thanks once again for responding. Much appreciated! Magnetar.
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
7 comments
Hm… weird, it should be passing, the code is fine. Have you tried a different browser?
Yeah, ran the code within IE, Edge, Chrome & Firefox from my Notepad++ editor. All okay. Such is life… Thanks for help earlier. Much appreciated.
Best regards, - Magnetar.
but that is from notepad++, have you tried the exercise in different browsers?
Yes, - viewed the results of the code (opening html file directly) in IE, Chrome, Firefox & Microsoft Edge. No problem with this, nor with continuing with follow-on sections of the course. Cheers, Magnetar.
That is not what i meant, have you tried the exercise in a different browser? Sometimes you hit a glitch, if you switch browser and try the exercise, it might work
Afternoon, stetim94. Thanks for help with this. Seems like it was an exercise<->browser issue after all. Gr8ful for your help with this. Magnetar. :-D :-)
very good you resolved it. You’re most welcome. Now you can complete all exercises!