No evaluation on exercise...Cannot unlock next lesson (solved)


<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
I am entering the code…

#cover {
background-attachment: fixed;

…along with all the other properties that are already there under the cover id selector.

I get NO evaluation. Just a forever spinning loading circle that eventually stops and nothing happens.
When I refresh the mini browser I can see that the background image is now fixed when I scroll, but I get no acknowledgement that the code was correct and I cannot advance to the next lesson (it remains locked). Please help! I want to continue learning code :frowning:


#cover {
background: url(“”) no-repeat top center;
background-size: cover;
height: 900px;
position: relative;
top: -55px;
width: 100%;
background-attachment: fixed;

<do not remove the three backticks above>

I solved my own problem by instead using just…

background: fixed;

instead of…

background-attachment: fixed;

Both rules seem to work (the background image is fixed when scrolling), but only the former rule grants a green checkmark and advancement to the next exercise…I was stuck in the same place for a week thanks to this.

It should be noted that the instructions and the dialogue in the lesson says to use background-attachment as the property, which does not work.

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