I can´t get any further.
https://www.codecademy.com/en/courses/web-beginner-en-TlhFi/4/5?curriculum_id=50579fb998b470000202dc8b
Oops, try again.Did you remember to set your link’s text-decoration to none;?
CSS:
h1 {
font-family: Verdana, sans-serif;
color: #576D94;
}
p {
font-family: Garamond, serif;
font-size: 18px;
color: #4A4943;
}
img {
height: 100px;
width: 300px;
border:1px solid #4682b4;
}
a {
text-decoration: none;
color: #cc0000;
}
HTML
<!DOCTYPE html>
<html>
<head>
<title>Result</title>
<link="text/css" rel="stylesheet" href="stylesheet.css" />
</head>
<body> <h1> Delicous chicken</h1>
<p>All will become in love with KFC!</p>
<img src=http://tinyurl.com/hgn45a8>
<a href=¨www.kfc.com¨>KFC</a>
</body>
</html>
your link to stylesheet is missing the type attribute:
<link type="text/css"
I changed it, but it gives me:
Oops, try again.
Did you remember to give your link a ‘href’ attribute?
can you post an updated version of your code?
HTML:
<!DOCTYPE html>
<html>
<head>
<title>Result</title>
<link type="text/css" rel="stylesheet" href="stylesheet.css" />
</head>
<body> <h1> Delicous chicken</h1>
<p>All will become in love with KFC!</p>
<img src=http://tinyurl.com/hgn45a8>
<a href=¨www.kfc.com¨>KFC</a>
</body>
</html>
CSS
h1 {
font-family: Verdana, sans-serif;
color: #576D94
}
p {
font-size:18px;
font-family:Garamond, serif;
color: #4A4943;
}
img {
height: 100px;
width: 300px;
border: 1px solid#4682b4;
}
a {
text-decoration:none;
color:#cc0000;
}
i don’t know what you use around the url (¨
), but you need to use quotation marks ("
)
Thank you! The problem was with my keymapping (ENG US Alternative with Dead Keys) in Ubuntu. I changed it to normal US layout and the problem was solved!