Adding link to my button help


#1


Error says: Oops, try again. Did you remember to set your link's text-decoration to none;?
Where is the problem? Please tell me, thanks.

/*Start adding your CSS below!*/
div {
height: 50px;
width: 120px;
border-color: #6495ED;
background-color: #BCD2EE;
border-radius: 5px;
margin: auto;
text-align: center;
{
    
a {
    text-decoration: none;
    color: white;
    font-family: Monaco;
}

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="www.lol.com">Very good website</a>
		</div>
		
	</body>
</html>


#2

the div css selector has two opening curly brackets ({) instead of a opening and a closing curly bracket


#3

Can u send me fixed css?


#4

div {
height: 50px;
width: 120px;
border-color: #6495ED;
background-color: #BCD2EE;
border-radius: 5px;
margin: auto;
text-align: center;
{

the { after tex-align: center; should be a }


#5

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