I’m on Import Google Font Challenge.
I’m unable to meet the following test :
You should use an h2
CSS selector to change the font.
What does this mean. My code is here
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
.red-text {
color: red;
}
p {
font-size: 16px;
font-family: monospace;
}
h2{
font-family : Lobster;
color: red;
}
</style>
<h2 >CatPhotoApp</h2>
This is the same issue, check it out:
Aben
3
your h2 should have a css font. the code you inserted is correct but after font-family you made a space the space is not allowed. like this
font-family: Lobster;
No it is not. My google font import is outside the tag.
thank you Aben. That totally worked !