Just because you didn't get the job doesn't mean it was a total loss. You did get to do an interview, which, from the sounds of it, you don't have all that much experience with, so look at it as a learning experience. Go back over the interview in you head, try to figure out what you did right, what you might've done better and what you might've done wrong and apply it to your next interview. If you do this and learn from it, it should definitely help you next time.