Everything looks right with your code. Did you get it to work? If you want it in your sidebar you would go into your template and copy and paste under SIDEBAR. If you want to put it in an actual blog post you will need to use the SOURCE button on the toolbar above the Add Entry box. Click SOURCE and then paste the code and click SOURCE again to return to "normal."
I hope you got it working

Amy