Adding a link of a button


#1


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

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


Replace this line with your code. 
index.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>

Stylesheet.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-color: #6495ED;
    background-color: #BCD2EE;
    border-radius: 5px;
    margin: auto;
    text-align: center;
}

a {
    text-decoration: none;
    color: #6495ED;
    font-family: Arial;
}


#2

I have solved this problem already by myself.


#3

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