In my experience, Duolingo is great as a SUPPLEMENT to language learning. I have used it to gain some basic literacy in a couple languages (Portuguese, Italian), but it only really teaches you the basics. It’s a good start and good practice, but I wouldn’t rely on it by itself.