why does my prompt work i have doen everything correct
Make up your mind.
If you've done everything correct then it WILL work.
If I may interject. I believe what was meant was that the prompt didn't work and the person wants some more information as to why and how to get it to work properly if it was indeed incorrect as was stated in the title.
One thing that is helpful would be mentioning the code and how it was used for the example. Basically, what I'm getting at is copy/paste the code used in the sessions to this forum post.