5 | Adding The Link


#1

Does anyone know why this is happening

My code throws the error: "Oops, try again. Did you remember to give your (<)a(>) tag a href attribute?" (Please ignore the parentheses as without them the tag won't display)


HTML (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>
            <!-- Scrutinise the line below -->
	    <a href='https://www.codecademy.com/learn'>Start Learning!</a>
	</div>
    </body>
</html>

CSS (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-style: solid;
    border-width: 2px;
    border-radius: 5px;
    margin: auto;
    text-align: center;
}

a {
    text-decoration: none;
    color: white;
    font-family: Monaco;
}

#2

this might be the checking script, try using quotation marks (") instead of apostrophes (').


#3

Wow. Thank you so much. I would've been stuck on that for ages.


#4