Specify How Fonts Should Degrade Problem

Specify How Fonts Should Degrade Problem
0.0 0

#1

Tell us what’s happening:
I had the task to comment the font-family “Lobster” out of this code with . I don’t no what I did wrong since I had to use (btw shouldn’t you use /* */ for comments in CSS?). But also the “right” version isn’t correctly so do you have an idea what I did wrong?
Thank you for every hint!

Your code so far

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: <!--Lobster-->, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
  }
</style>

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

<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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36.

Link to the challenge:


#2
<!-- ### is for HTML, /* #### */ is for CSS

#3

okay, I was supposed to do the comment stuff around the link to the Google Font, but thanks for your answer


#4

You can comment something with ctrl + /
Just click on the code you want to comment then press ctrl + /