<!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://www.codecademy.com/courses/web-beginner-en-UuBLw/0/5?curriculum_id=50579fb998b470000202dc8b'>Nicky</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-color:#6495ed;
background-color:#bcd2ee;
border-radius:5px;
margin:auto;
text-align:center;
}
div a{
text-decoration:none;
color:red;
}
I’m getting an error with the a tags - and I don’t see where I’ve went wrong. I’ve had many errors with a tags in the past also - and had to skip the lesson by using someone’s code instead, which was virtually the same. Any help is greatly appreciated.