Can't Pass Basic CSS: Import a Google Font

Hi all,

I can’t get past this challenge.

I’ve added ‘h2 {font-family: Lobster}’ in my style block (below) and can see that the font has changed to Lobster but it still keeps saying ‘Use an h2 CSS selector to change the font’ and challenge remains incomplete. Screenshot attached. Help much appreciated!

Try adding a semicolon after Lobster

It worked! Thank you.

Is this a freecodecamp glitch? Or just a generic coding error?

Semicolons aren’t really required for the last property inside the brackets (, so technically it’s an fcc glitch. But IMO it’s a good habit to add semicolons after each property anyway.

ok cool. Thanks for your help.