People say this, and then when you say “sure but one of my full screen apps is VS Code and another one is the Terminal, how do I get that on an iPad?” they go “Honestly sounds like you might want a Mac.”
You can get some stuff running on an iPad using iSH [0], but compatibility is iffy and performance even moreso. At one point, I tried bringing a RPi4 along with me to act as a mobile dev server (it'd serve an instance of VSCode over ethernet via a USB-C/ethernet adapter on the iPad, and the iPad would share its Wifi connection to the RPi), but it was clunky to bring two devices with me. Nowadays, I use Blink Shell [1] as a mosh terminal to a remote dev server.