Q.about a yucca plant
hi i brought a yucca plant not long ago and it was very nice and green ive planted it from a plant pot in to a nice bit in my garden and after a couple days the leaves are turning brown and yellow is my plant dying? thank you

Your plant is likely stressed from going from an indoor location to an outdoor planting.
Make sure the soil is well draining.
Here are some links to refresh you on the care requirements.
https://www.gardeningknowhow.com/ornamental/foliage/yucca/caring-for-and-landscaping-with-yuccas-outdoors.htm
https://www.gardeningknowhow.com/ornamental/foliage/yucca/growing-yucca-indoors.htm
https://www.gardeningknowhow.com/ornamental/foliage/yucca/yucca-turning-brown.htm