I am trying to create a self checking card sort. I have never used CL I normally just used pre-made activities. I have a few questions. I have added photos of both the code and the student preview.
I copied the code but I am getting an error.
When I check my answer what do two the cards show check marks?
How do I get rid of the answer key ion the bottom left of the page. I think it gives the students too much information.
subtitle: is part of the screen CL, not the card sort component. It should work as intended if you name the card sort “sort”, cut your code from the card sort, and paste it into the screen CL (next to the “Teacher Tips” on the far left).
I always like to reiterate how the number of “correct cards” is determined. It looks through each group of 2 or more, and if there are no mismatched cards, they count toward correct cards. If any cards shouldn’t be in the group, none are counted as correct from that group. I find this could potentially be a little demoralizing when trying to automate feedback in this way.
Tip for this forum: If you include a Share link with your question, folks can make a copy of your activity and mess around with the code.
The “Yes” or “No” output is for use in a string, so changing to true or false would make for an extra step. Also, sort.matchesKey is already a boolean. You should pretty much never need to use a when-otherwise conditional if your outputs are true or false. Your code above is essentially when true true otherwise false.