Answer
See the explanation
Work Step by Step
The mistake is that the data values are not arranged in ascending or descending order and the directly middle value is picked.
Arrange in ascending order:
$$2,3,4,4,\boxed{6},6,7,8,8$$
Now the middle value or median is $6$.