Remote control

Hi guys, anyone know how to make something like THIS and THIS?
They leave some links to teach how to do this, but I didn’t understand that

:wink: