+ {allDone
+ ? "You correctly drew the memory model for each line, one step at a time."
+ : `Draw the memory model after executing line ${currentLine}.`}
+
+
+
+
+ {stepConsistencyError && (
+
+ {stepConsistencyError}
+
+ )}
+
+
+ {allDone
+ ? "The canvas reflects the final state of memory."
+ : "Set up the memory model for the highlighted line, then click Check."}
+