Prøv ikke. Gør eller gør ikke. Der er findes ikke at prøve!!!
She tried but she gave up. I thought that would be accepted but no.
I guess it is not accepted because you added an extra "she" in your sentence.
I wrote hun prøved men hun gav op