5. Adding the link


#1



I think I'm getting it right but the error sign keeps on coming up and it keeps on saying "set your link's text-decoration to none;?"


HTML:

 <!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="https://facebook.com">Friend us on Facebook!</a>
		</div>
	</body>
</html>

CSS:


img {
	display: block;
	height: 100px;
	width: 300px;
	margin: auto;
}

p {
	text-align: center;
	font-family: Garamond, serif;
	font-size: 18px;
}

/*Start adding your CSS below!*/
div {
    height: 50px;
    width: 120px;
    border: 1px solid #6495ED;
    border-radius:5px;
    background-color: #BCD2EE;
    margin: 0 auto;
    text-align: center;
}

a {
    text-decoration: none;
    color: blue;
    font-family:cursive;
}


#2

seems your code is fine, try to refresh the page otherwise a different browser


#3

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