Yash_LFC99:
even after the right coding,
Well we only have your word for that, and that the circuit's the same as in the Instructable.
You should copy YOUR code to a post here, along with a decent photo and sketch of YOUR circuit.
Have you tried with a circuit like that Instructable, but instead of the switch just use a piece of wire to make/break the circuit? That way, you'll check that the circuit apart from the switch is ok, and the code's right.

I don't have clipping wires
I'm sure you can find some wire somewhere and just twist them on, or get someone to hold them if you ran out of hands.
