How to Add Left and Right Movement Animations in an Endless Driving Game

I’m making a game similar to “Traffic Racer”, where the car moves forward, and I wanted to add turning animations to the left and right. After trying to implement it based on a tutorial video, the animation stopped working. Could you help me figure out what might be the issue?