Need help with font basic coding

it says I have made a mistake in
(You should import the Lobster font)

.red-text {
  color: red;
p {
  font-size: 16px;
  font-family: monospace;
h2 {
font-family: Lobster;

<h2 class="red-text">CatPhotoApp</h2>
<p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="" alt="A cute orange cat lying on its back."></a>

  <p>Things cats love:</p>
    <li>cat nip</li>
    <li>laser pointers</li>
  <p>Top 3 things cats hate:</p>
    <li>flea treatment</li>
    <li>other cats</li>

<form action="/submit-cat-photo">
  <label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
  <label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
  <label><input type="checkbox" name="personality" checked> Loving</label>
  <label><input type="checkbox" name="personality"> Lazy</label>
  <label><input type="checkbox" name="personality"> Energetic</label><br>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Safari/605.1.15.

Challenge: Import a Google Font

Link to the challenge:

you have not imported the font
the challenge description says how to do that
what of the challenge description that explain how to import a font you did not understand?

I dont know how to change the font into lobster
where it says I have to be ‘import lobster’

h2 {
font-family: Lobster;

in the challenge description there is written how to import a font - have you read that? all the description?

yeah I have read that and used the information onto the coding

I don’t think you followed the instructions of the challenge, go check the description again!!

somewhere there is a part that says

To import a Google Font, you can copy the font(s) URL from the Google Fonts library and then paste it in your HTML. For this challenge, we’ll import the Lobster font

I suggest you read again the whole challenge description, find where it says that and what else it says to do

@import url('');
</style>h2 {
		font family: 'Lobster', cursive

I have done this
but still get an error

it says to copy and paste the snippet of code written there, and to add it before the existing <style> tag
you did not do that
I don’t know where you found what you wrote there but that’s not the snippet in the challenge description

i have done this
it still says that i have made a mistake:

  • You should import the Lobster font.
    -Your h2 element should use the font Lobster


you have removed or misplaced the opening style tag <style>, without that one CSS doesn’t work. Maybe reset to be sure of not having changed anything and then paste the code snippet before the existing <style> tag