Please tell error in this it is not working

Hello @Namanjain123,

I have modified your code:

Hope, this would help.
Give a like, if you are satisfied.