freeCodeCamp: Stuck in Specify How Fonts Should Degrade. My code is degrading the font.
Challenge Waypoint: Specify How Fonts Should Degrade has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36.
In my understanding we only need to comment out the “google call” or the first line like this
because the code has already in h2 the degradation of the fonts font-family: Lobster, Monospace;
(After reset code I have )
<link href="http://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;
}
</style>
<h2 class="red-text">CatPhotoApp</h2>
<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
But it does not work. I reset the code and refresh (F5) but I can’t proceed to the next exercise.
My solution:

About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 20 (1 by maintainers)
The <!-- goes in the Google font code. So in your very first line of code, after it says “css?family=” put the <!-- in front of Lobster.
Then proceed to close it by putting --> after Monospace (and the semi colon) in h2 line of code.