Import a Google Fon

Tell us what’s happening:

Your code so far

  .red-text {
    color: red;

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

<h2> font-style: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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36.

Link to the challenge:

  1. You have font-style you want the font-family.

  2. You need to remember to import the font up top.

<link href="" rel="stylesheet" type="text/css">
  1. You have a CSS style inside the <h2> element, remove it.

You have:

<h2> font-style:Lobster;</h2>class="red-text">CatPhotoApp</h2>

Should be:

<h2 class="red-text">CatPhotoApp</h2>
1 Like

can you please tell me how to import the url.
thank you.

I updated my post. You just paste in the link at the top of the editor before the opening <style> tag

1 Like

saying that p element should the same monospace

Without seeing your new code it is hard for me to help. Did you change any styles inside the p selector? You should not do that.

I would maybe suggest resetting the code and starting over.

  1. Reset the code.

  2. Add the link to the font.

  3. Write the h2 selector and add font-family: Lobster; to it.

  4. Run the test.

1 Like

thank you so much for your patience in corrrecting the errors.

You are most welcome, happy coding.