It's not uncommon to lose the whole spawn the first time you try.
You have to be sure you keep the water clean with water changes, but you can't change the water parameters so you have to add the new water in bit by bit, etc.

There's a lot of online resources as to how to successfully raise baby bettas, so I hope your next attempt has more success.