Good day to you all,

I have a concern about the “Degrading Family Font” lesson. I completed almost all the tasks. I commented the link section, I added monospace as default font. Problem is that when it execute the commenting symbols, it dosen’t show up as monospace.

Here is the code:

h2 {

font-family: Lobster; monospace


And here’s what the console reacted:

// running tests
Your h2 element should degrade to the font monospace when
Lobster is not available.
// tests completed

I need some help here. Thank you.


Browser information:

Google Chrome
Version 92.0.4515.159 (Official Build) (64-bit)

I can’t get to your code to check but your code should probably look more like this
font-family: Lobster, monospace;
The semi colon always goes at the back end, then you separate the different fonts with commas

Thanks a lot man. You just helped a absent-minded teen. Again, thank you.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.