M e r o n n e e d s h e l p / a d v i c e

M e r o n n e e d s h e l p / a d v i c e
0.0 0

#1

Tell us what’s happening:
its been a productive day so far.
How do get my h2 element to be blue?

Your code so far

<style>h2 {color: blue;}</style>

<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>

Your browser information:

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

Link to the challenge:


#2

Here are two different techniques you might use:

<style>
  h2 {
    color: blue;
  }
</style>

<h2>Blue heading</h2>

Or

<h2 style="color: blue;">Blue heading</h2>

The first is preferred because it targets every h2 tag. The second is called an inline style.


#3

Thank you, you are a life and saw i can actually put my actual heading there.