On lessons three and four are the instructions wrong?


#1


On lessons 3 and 4, I am told to put the pound sign along with the div id but it only passes when I don't. Is this an error

Replace this line with your code.


#2

https://www.codecademy.com/en/courses/web-beginner-en-bay3D/0/3

Are you saying that this selector will not pass?

$('#green')

And neither does this one?

$('#notready')

#3

Never mind I just didn't have parenthesis around them. They allowed me to put just green and not ready by themselves though that is probably why I got confused


#4

That would be an SCT related issue, in terms of the degree of correctness checking. It may have passed just because the the lesson checker found 'green' in your code. The correct selector will invoke the expected response, and will also pass. The key is to get the actual value added in understanding an expected ID selector. You appear to have that down now, so kudos and happy coding!


#5

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