# Use h2 CSS selector to change the font for google

**URL:** <https://forum.freecodecamp.org/t/use-h2-css-selector-to-change-the-font-for-google/210975>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [July 22, 2018, 11:40pm UTC](https://forum.freecodecamp.org/t/use-h2-css-selector-to-change-the-font-for-google/210975 "2018-07-22T23:40:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ULTRACSONLY](https://avatars.discourse-cdn.com/v4/letter/u/49beb7/32.png) [@ULTRACSONLY](https://forum.freecodecamp.org/u/ULTRACSONLY)\
**Post date:** [July 22, 2018, 11:40pm UTC](https://forum.freecodecamp.org/t/use-h2-css-selector-to-change-the-font-for-google/210975/1 "2018-07-22T23:40:55Z")

</div>

**Tell us what’s happening:**  
I am confused on h2 css selector and i can`t understand what to do.

**Your code so far**

```html

<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>
<main>
  <p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>
  
  <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
  
  <div>
    <p>Things cats love:</p>
    <ul>
      <li>cat nip</li>
      <li>laser pointers</li>
      <li>lasagna</li>
    </ul>
    <p>Top 3 things cats hate:</p>
    <ol>
      <li>flea treatment</li>
      <li>thunder</li>
      <li>other cats</li>
    </ol>
  </div>
  
  <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>
  </form>
</main>

```

**Your browser information:**

User Agent is: `Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36`.

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design/basic-css/import-a-google-font)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![zapcannon99](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/zapcannon99/32/94297_2.png) [@zapcannon99](https://forum.freecodecamp.org/u/zapcannon99)\
**Post date:** [July 22, 2018, 11:43pm UTC](https://forum.freecodecamp.org/t/use-h2-css-selector-to-change-the-font-for-google/210975/2 "2018-07-22T23:43:16Z")

</div>

I don’t think it tells you to change the font-size. Get rid of that line an see what happens.

---

<div class="post-metadata">

**Author:** ![ULTRACSONLY](https://avatars.discourse-cdn.com/v4/letter/u/49beb7/32.png) [@ULTRACSONLY](https://forum.freecodecamp.org/u/ULTRACSONLY)\
**Post date:** [July 22, 2018, 11:45pm UTC](https://forum.freecodecamp.org/t/use-h2-css-selector-to-change-the-font-for-google/210975/3 "2018-07-22T23:45:20Z")

</div>

That was silly, how did i missed that.  
Anyways thanks for the help.

---

<div class="post-metadata">

**Author:** ![zapcannon99](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/zapcannon99/32/94297_2.png) [@zapcannon99](https://forum.freecodecamp.org/u/zapcannon99)\
**Post date:** [July 22, 2018, 11:46pm UTC](https://forum.freecodecamp.org/t/use-h2-css-selector-to-change-the-font-for-google/210975/4 "2018-07-22T23:46:10Z")

</div>

Don’t worry. I miss many small things too!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [March 9, 2021, 10:48am UTC](https://forum.freecodecamp.org/t/use-h2-css-selector-to-change-the-font-for-google/210975/5 "2021-03-09T10:48:12Z")

</div>

Closed on March 9, 2021, 10:48am UTC


