"You have your beer."
Translation:Du hast dein Bier.
In your second sentence, you forgot to capitalise Ihr. Lowercase ihr means "her".
Du hast dein Bier = "You have your beer" (informal, individual)
Ihr habt euer Bier = "You have your beer" (informal, to a group)
Sie haben Ihr Bier = "You have your beer" (polite, any number of people)
Sie haben ihr Bier = "You have her beer" (polite)
To answer 'MAB-15', note that the possessive pronouns are all inflected to match the neuter (das) Bier in accusative case, i.e. they all have 'blunt' endings. You would only use -e endings for grammatically feminine objects, i.e. Du hast deine Katze = "You have your cat".
Good news, this is accusative case! Review Duolingo's notes (scroll down).
Du is the subject (nominative case)
hast is the verb. It takes an object
dein Bier is the direct object. What do you have? "A beer".
Bier is a neuter object (remember it in your head as das Bier, the drink for all genders), so doesn't need an ending on the possessive pronoun dein in either the nominative or accusative case.
Check out my how-to-guide for constructing possessive pronouns here.