Hi Rgreen93,
welcome to the Apple (user-to-user) Community!
Re: "What happen to the other ScreenTime code on my daughters iPhone?"
Seems it may depend on how you have ScreenTime set up to operate.
if your daughter is in a Family Sharing group for which you’re the organizer,
you can set up Screen Time for them through Family Sharing on your device.
Else:
You can set up Screen Time for a family member on their device following the steps
in Set up Screen Time on iPhone
_______________________________________________________________________________________________
Re: "There use to be a code you enter before even further in screen time but now I don’t know what happen to it.
It is like they can go on their phones and change screen time whenever they want".
You may want to view what to do: If you forgot your Screen Time passcode - Apple Support
Eg: In the linked article above:
Check under the heading: "How to reset the Screen Time passcode for your personal device"
or
See "How to reset the Screen Time passcode for your child's device"
If you’re using Family Sharing to manage a child’s account, the family organizer needs to reset the passcode on their device.
All the best :-)