I am a backend developer, I had an opportunity to be a contractor for a frontend angular project (which I never had played with before).
I basically thought I could do it and then did it. I spent around 160h in the project even tho I only billed 80h. So I basically worked "for free" half of the time but that was me "paying myself" in knowledge.