Having problems importing google lobster to h2

Having problems importing google lobster to h2
0

#1

**Tell us what’s happening:**not able to complete task

Your code so far

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

  p {
    font-size: 16px;
    font-family: Monospace;
  }
  <link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
</style>

<h2 class="red-text">CatPhotoApp</h2>
h2{
font-family:<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
}

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p class="red-text">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36.

Link to the challenge:


#2

You don’t put the <link> tag inside the <style> tags, like so

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

<style>
  ...
</style>

Then you can set the Lobster font like

h2 {
  font-family: 'Lobster';
}

This should go in between the <style> tags.


#3

does the h2 font go inside the the style tags or underneath the h2 class


#4

Styling information go in between the <style> tags. Really, one point of using <style> tags is to have a central place to put your page’s styles.


#5

i placed inside the style as so

h2 {
font-family: 'Lobster' ;
}

this is not running


#6

How about the <link> tag? Where is it?


#7

after the font-family : monospace;
}
here is where the link tag is


#8

The <link> tag should be outside the <style> tag, preferrably at the top.

As a rule of thumb, no HTML element can go between the <style> tags. That space belongs to CSS, so you can’t put HTML there.


#9

What is correct above the style tag or below the style tag


#10

Most would put it above.


#11

thanks greatly for you help. it has the run challange