Importing fonts from google

Tell us what’s happening:
Entered the code exactly as it should be, the feedback keeps telling me I have not changed the h2 element to Lobster font. I found a topic that said I should set the font size to 16 px as well, even though the directions didnt say to. I have tried it both ways, and reset my code and started over twice.

Your code so far

<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-size: 16px;
    font-family: Lobster;
  }
</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>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Linux; Android 8.0.0; SM-G950U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.126 Mobile Safari/537.36.

Link to the challenge:
https://www.freecodecamp.org/challenges/import-a-google-font

It works for me. Not sure why you’re failing.

You need to quote the lobster family font like: font-family: "Lobster";

For monospace there is no need for the quotes as its a standard browser agent font. its like sans serif, serif, etc.

Instead, for imported fonts, always use eather “” or ‘’

Tried this in a separate file in notepad and worked fine.
However, I guess you should stick to the instructions of the tutorial since I think it checks the strict obedience to the given instructions.
maybe you should remove the font-size declaration in h2 selector?