Import google font

I imported google font lobster but h2 {font-family: Lobster;} not working…

Not entirely sure, but I believe you need to use "Lobster" instead of Lobster.

nope, that didn’t work

How did you import the font, because it works for me:

I just copied and pasted the link like it said on line 1 and then tried to apply the font value to h2

The @import line or the link tag? If you place it in your CSS, you need @import.

I copied the link tag

Ah, I didn’t know it was a challenge. You will have to add the link at the top (above the style tags) and add h2{font-family:...} inside the style tags. Can you paste your code?

just refresh your page

that’s i try but it’s not work for me

i can’t pass

“Use an h2 CSS selector to change the font.”

how i should to do i try many method that i know.

this is my code

did you add the h2 line above the main tag? If yes, remove it. It should not be there.
also change “Lobster” so it is not in quotes.
and change “.lobster” to “.h2”

edit: oops should have said “change .lobster to h2”

thank you but it’s not work. i don’t know how should i do

remove the ‘.’ from infront of the h2 selector on line 13
also remove the double quotes from around the word Lobster on line 14

that same output can’t pass this exercise

please paste all your code here in between two lines with three backticks on each line like this:
all code here

Make sure you use backtick symbol not apostrophe (the backtick is a button near the ESC button on your keyboard)

All Code here

<link href="" rel="stylesheet">

  .red-text {
    color: red;

  p {
    font-size: 16px;
    font-family: monospace;

  h2 {
    font-family : Lobster;    


  <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>

try removing the extra space between “font-family” and the colon
so it becomes

font-family: Lobster;

also it looks like your link is not quite correct. Fix it to match exactly the given link in the instructions.

<link href="" rel="stylesheet" type="text/css">