Is it correct to use two tense in one sentence? Like

I have just clicked on the cross button and nothing happened.

Or I clicked on ... and nothing happened.
Indeed, two actions (one after the other) in a sentence implicate the use of the past simple even if it's recent?