Nice! A slight variation of a counter shown by Remote Chess Academy or whatever.
Finally played a perfect Fried Liver Counter Attack

2 days ago you've learned that this is not the Fried Liver, and you already forgot?
5. - Nd4 is the Two Knights defense, Fritz variation.

I posted this around the same time as the other post before I got a response that it isn't the fried liver... And as of now I haven't forgotten. I know now it's the fritz variation of the 2 knights.. I think originally I thought it was a set up for a fried liver, (which technically is set up in the same fashion) it's just played a bit differently, so it's called something completely different. I get confused with names of openings because I've only been playing a year and am still learning.

2 days ago you've learned that this is not the Fried Liver, and you already forgot?
5. - Nd4 is the Two Knights defense, Fritz variation.
I think 4.Ng5 is the defining position for a Fried Liver Attack because the Queen cannot capture Ng5 and whites bishop and knight pieces are attacking f7.
I think it's reasonable to say anything played after 4.Ng5 is a Fried Liver counter-attack. Some counter-attacks may have specific names after 4.Ng5.. nonetheless, white is attempting a fried liver attack and you were successful in countering it. Well done!
GothamChess also describes this position as a fried liver attack.
In defense of @magpi, GM Fiengold describes the following position (and only this position) as Fried Liver.

Apparently, this is how you defend from the fried liver to prevent it [Site "Chess.com"] [Date "2024-03-08"] [White "fried liver attempt"] [Black "Defend"] [Result "0-1"] [TimeControl "-"] [Termination "Defend won by resignation"] 1. e4 e5 2. Bc4 Nf6 3. Nf3 Nc6 4. Ng5 d5 5. exd5 Na5 0-1
Up until now I haven't been able to remember the sequence on how this works but I was playing on Lichess earlier and played this game. I was happy with the result.
Never get Fried Liver'd again.