Glitch All About Me website Lesson 15


This is my code

   body {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background: lightcoral;
    text-align: center;
    color: aqua;
    font-family: Cursive;

I keep getting the error message: "you did not "background-size" "cover".
I look forward to hearing from you.


You did set background-size to cover, but then here:

background: lightcoral;

you have used a shorthand property that is changing more things than you realize. Once you use that line, your background-size changes to auto auto.

You can read more about that here:


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