Looks like you've already learned the most important lesson of software engineering: don't reinvent the wheel. Offloading the real work to Google probably is the best way to build this app in most cases, but it makes the headline a little misleading, because you didn't actually write a QR generator, you just wrote a text box that proxies to a web API.