Consider: you write perfect code, and you write the perfect web and mobile app.
1. Does it have a server?
2. What happens when everyone upgrades their browser?
3. What if everyone upgrades their iOS?
It is not your fault that it may not work in 2 years, let alone 15.