If you can roll up to a kerb/log at a reasonable pace, lift the front well clear and then unweight the rear enough to not smack the wheel, in one motion, you’re on the way to a bunny hop. Just do it with more exaggerated motion and more pull-up force/good timing for the unweight and you’ll be hopping a foot or so fairly easily. After that it’s power and timing, up to skill limits. Do it on flats to start.
I’m rubbish at trials but having a ‘little 90s hardtail’ taught me some of the basics, a decent trackstand, pedal-drops and rolling-drops and a roll-through-dips manual are the basics that helped improve my trail riding. I’ve never got proper rolling-forever manuals though, no matter how much I wanted them.