Check this content

Why is this code not working? When I preview it any text that I type as the answer results in a dot meaning incorrect text is not getting an “x” as an incorrect answer.

check = this.content = “January” or this.content = “january” or this.content = “Jan” or this.content = “jan”
correct: check

Could you share the link? I think we need a bit more context because I think that should work

Per the Desmos philosophy of fostering discussion, there are no correct sinks for Free Response components, as the expectation is that a teacher should be reading them. As such, the presence of a Free Response, or component with an explain prompt, on a screen will at best leave a dot symbol on the teacher dashboard, and will never get a checkmark.

Not knowing the context, if you’re having students enter a month, you might instead use a multiple choice component, which can be corrected.

1 Like

I didn’t know that, very cool. Learned something again… so does it mean this.content can’t be used in a free response?

.content is a valid source in Free Response, so you could paste it into a note component, for example. It’s the correct: sink that can’t be used.

1 Like