5.Adding the link


#1


https://www.codecademy.com/courses/web-beginner-en-UuBLw/0/5?curriculum_id=50579fb998b470000202dc8b


I pretty sure i am right but it says it says "Oops, try again. Did you remember to set your link's text-decoration to none;? please help


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 <span>Facebook!</span></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;
}

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: yellow;
    font-family:Garamond;
}


#2

Your code works fine for me in the latest version of FireFox. Perhaps it is a browser issue?


#3

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