could someone help me in this matter?

Tell us what’s happening:

  **Your code so far**

<style>
.red-text {
  color: red;
}

p {
  font-size: 16px;
  font-family: monospace;
}
h2 {
  font-family: Lobster;<link href: "https://fonts.googleapis.com/css?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="https://freecatphotoapp.com/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.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36.

Challenge: Import a Google Font

Link to the challenge:

@Ezequiel_santos That link tag should be on the top of the style tag! And the colon is invalid for adding attribute. Use = .

Hope this Help

Firstly this tag it have to stay out of style tag, or if you want to write this link in CSS you can use ‘import:url(‘LINK’);’
If you could tell what the problem that u face exactly ?

the font families are out of the style tag, only the link should be above all tags.

Your h2 element should use the font Lobster .

sorry this is the problem: You should only use an h2 element selector to change the font.

Yeah when u do the first step that I write to u then u can use font lobster on your element h2, for that u can use the expression:

<style>
      h2{
               font-family: lobster, sans-serif;
      }
</style>

I wish that u could now figure it out

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.