My instructions were:
To begin, apply the monospace
font to the h2
element, so that it now has two fonts - Lobster
and monospace
.
In the last challenge, you imported the Lobster
font using the link
tag. Now comment out that import of the Lobster
font (using the HTML comments you learned before) from Google Fonts so that it isn’t available anymore. Notice how your h2
element degrades to the monospace
font.
I coded:
<style>
.red-text {
color: red;
}
h2 {
font-family: Lobster, moonspace;
}
p {
font-size: 16px;
font-family: monospace;
}
</style>
<h2>CatPhotoApp</h2>````
but I got test result as
```// running tests
Your h2 element should degrade to the font monospace
when Lobster is not available.
// tests completed```