Href attribute?


#1

Hi, having troubles finishing the design button code.

code looks the following:

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>About Me</title>
	</head>
	<body>
		<img src="https://s3.amazonaws.com/codecademy-blog/assets/46838757.png"/>
		<p>We're Codecademy! We're here to help you learn to code.</p><br/><br/>
		<div>
            <a href='http://www.orf.at'>News in  <span>German</span></a>
		</div>
	</body>
</html>

error message: "Oops, try again. Did you remember to give your tag a href attribute?" keeps on coming when I submit.

Thanks for your held appreciated!

Robert

PS: tried reseting the code, using different href's, with and without using <span> in the link text


#2

speaking of misleading errors, this one could be at the top of the list, you should use quotation marks ("), not apostrophe ('):

<a href="http://www.orf.at">

Normally apostrophe is fine, but SCT won't always approve it, while on the html + css track use quotation marks


#3

ah thank you! Had the problem the other way around in one of the lessons involving .js files therefore had my mind stuck on not using quotation marks. XD