Hello,
Im now learning how to create styled borders around the image - have tried to reset the lesson and to re-check so many times but can´t see anything wrong, however when i run the test it wouldn´t pass and won´t be seen - i still get advised to give im img a border style & width.
I have tried to use it on the title instead of the image and it functioned ok.
I am using Chrome… should that matter. Could you advise?
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}
h2 {
font-family: Lobster, monospace;
}
p {
font-size: 16px;
font-family: monospace;
}
.smaller-image {
width: 100px;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid,
}
</style>
<h2 class="red-text">CatPhotoApp</h2>
<main>
<p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>
<a href="#"><img class="smaller-image thick-green-border" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>