9. Learn More: Link/stuck


#1

Nicely done! As a last step, let’s change the color of the a elements as well.
Instructions

Make a new CSS rule that selects the a element inside <div class="learn-more">..</div>
Set the color to #00b0ff

here's my code

.learn-more a {
color: #00b0ff,
} -

Oops, try again. Set the color of the a elements inside

..
to #00b0ff
0

what's wrong?


#2

you put a - at the end of the .learn-more a code block.


#3

.learn-more a {
color: #00b0ff,
}

its like this but i still can't pass


#4

you need to get rid of the , at the end of #00b0ff


#5

oh i did it and passed thank you so much.but i didn't quite understand the point, may i ask why?


#6

the , isn't in the coding language for CSS but when you have 2 things being applied to the same HTML element in the same CSS code block then you put a ; at the end of the last modifier in the CSS block then on the right of the ; you can put another modifier on and repeat.

hope this cleared things up a bit! :smiley:


#7

thank you so much :smile: