perhaps something like this:
- build an app that can scan a QRcode of a food product. There are examples in the community.
- use the product code to point to a recipe stored in your app or linked to a url or you could use QRCodeCreator extension to build a QR code icon that when scanned shows a recipe associated with a particular code. Do you have a table of product codes and an associated recipe? If you do not you have a problem. Is this a school exercise? Then you can create your own.
- scan
- determine recipe to associate with a specific product code if 1234 then recipe2, else if 3456 then recipe 5
- display recipe
- another step depends on what you want to do

This depends on whether this uses real product codes or not.
Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .
Also look here App inventor español. Offline. Tutorial. Ejemplos. Instalación. Códigos. Juegos. Curso gratis de App inventor. and here Tutorial Index | imagnity for more tutorials including Imagnity.com List Tutorial, Mirrored - @Saj
Learn about components Component Reference
and visit the Library The MIT App Inventor Library: Documentation & Support Help>Library on the MENU