vs
QUICK ANSWER
"I did it" is a transitive verb phrase which is often translated as "lo hice", and "yes" is an interjection which is often translated as "sí". Learn more about the difference between "I did it" and "yes" below.
I did it(
ay
dihd
iht
)A transitive verb phrase is a phrase that combines a verb with a preposition or other particle and requires a direct object (e.g., take out the trash.).
yes(
yehs
)An adverb is a word that describes a verb, an adjective, or other adverbs (e.g., to run quickly, very tired).
An interjection is a short utterance that expresses emotion, hesitation, or protest (e.g., Wow!).
A noun is a word referring to a person, animal, place, thing, feeling, or idea (e.g., man, dog, house).