2 - Foreground vs Background - What's wrong?



I have problem with this lesson : https://www.codecademy.com/fr/courses/learn-html-css/lessons/css-colors/exercises/foreground-background?action=lesson_resume

Second instructions : "2.
Next, set the background color of the heading to Aqua.*

I do this :

.header {
  color : MidnightBlue;
  background-color: Aqua;
  height: 400px;
  background-position: center center;

But i have wrong message and i can't go next.

Why ?


Oh, nevermind, it's not on .header, but on .h1.

Sorry for that.

Close it.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.