Many people are giving wrong answers. Cognitive dissonance is NOT simply holding two opposing ideas in your head. Cognitive DISSONANCE is the uneasy feeling people are supposed to get when holding discongruent ideas at the same time.
Some people do not feel cognitive dissonance at all even while openly voicing the opinions. Great examples are all over politics. If one is for women having the freedom to make their own medical decisions, but oppose abortion bejng legal, those are two opposing views that SHOULD trigger unease and make them reconsider one position or the other.
A better example is people that believe laws should apply equally to everyone, but then go on to say Trump should totally be immune. That SHOULD cause dissonance, but it doesn't for far too many.
So like believing all I was told about a political party from my youth, then seeing the evidence of what that party believes that is against what I thought, that confused feeling is cognitive dissonance. Thank you!