<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;
}
.thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;
border-radius: 50%;
}
.smaller-image {
width: 100px;
}
</style>
<h2 class="red-text">CatPhotoApp</h2>
<p>Click here for <a href="#">cat photos</a>.</p>
<a href="#"><img class="smaller-image thick-green-border" alt="A cute orange cat lying on its back. " src="https://bit.ly/fcc-relaxing-cat"></a>
<p>Things cats hate:</p>
<ol>
<li>fred</li>
<li>trixie</li>
<li>mimi</li>
</ol>
<p>Things cats love:</p>
<ul>
<li>sleeping</li>
<li> Playing</li>
<li>Pestering</li>
</ul>
You changed the original p element (shown below). Look at what the error message for the test states and then compare you p element to the one below.
<p>Top 3 things cats hate:</p>
1 Like
I changed but it still showing error on the first requirement,have a look on the requirements
You should have an ordered list for "Top 3 things cats hate:"
You should have an unordered list for "Things cats love:"
You should have three li elements within your ul element.
You should have three li elements within your ol element.
Make sure your ul element has a closing tag.
Make sure your ol element has a closing tag.
Make sure your li element has a closing tag.
I just made it now thanks a lot for your service