Create a Gradual CSS Linear Gradient error

Tell us what’s happening:

This code still generates an error even though I think it is right, any suggestions?

Your code so far


    border-radius: 20px;
    width: 70%;
    height: 400px;
    margin: 50px auto;
    background: linear-gradient(35deg, #CCFFFF, #FFCCCC)



Your browser information:

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

Link to the challenge:

Perhaps, the devil’s in the details. It’s always best practice to end lines with a semicolon. It the computer equivalent to using a period at the end of a sentence.

It is almost correct. You need a semicolon.

I figured it out, it was missing the semi-colon, duh!

1 Like