"The girl eats pepper."
Translation:Jenta spiser pepper.
They're spelling variations of the same word, and thus identical in meaning.
Which one to use will depend on the degree of formality and on your dialect.
"Jenten" is the more common option in formal writing, and in some eastern dialects as well as in the dialect spoken in Bergen. "Jenta" is the most common option overall.