Regarding the variable assigning in selector

Hello Sir,

It’s working. Thankyou so much