Font Family of an Element

Font Family of an Element
0

#1

Preformatted textTell us what’s happening:

What should I do now?strong text

Your code so far

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

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

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

<p class="red-text" class="p">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="p">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 (Linux; Android 4.4.2; T1-701u Build/HuaweiMediaPad) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Safari/537.36.

Link to the challenge:


#2

Your code is working, though there’s no need for two <style> elements. Try hitting the Reset button, then try again.