There are many parts to a drag-and-drop exercise and they are each meant for a different part of the student experience. View the diagram below of a drag-and-drop exercise on Campus and see how the different parts of the finished exercise map to what you build in Teach.
Title: The exercise title will be available just above the exercise's context block and should clearing convey the objective of the exercise.
Instructions: The instructions for the exercise are located underneath the context section. Ensure that you do not have portions of the instructions in the context, as this requires students to go back-and-forth between the two sections. Instructions should be short, but should also require students to think about how to approach the problem.
Hint: Students ask for this when they need help with an answer. Students must click "Show Hint" or use Ctrl + H to receive this information. Hints should get students 50% of the way to the answer. Note: Many instructors confuse hints with SCT feedback messages, which are returned following an incorrect submission. SCT feedback messages are generated when a student submits an incorrect solution.
Solution: This is the expected solution and is written in YAML. The solution is described in terms of the drag/drop targets and the items they should contain in the final state. For the initial state of the exercise, all items belong to the first target. Each item has an id and content. The ids need to be unique and play a key role while writing SCTs. See the solution section for more details. For more details on how to author the solution for a drag-and-drop exercise, please refer to this article.