using wp_footer hook in a plugin

Firstly, remove the margin-left CSS property from your html and then try if it works. May be your html is being hidden behind any other html.

Or better try this first –

Remove the current code from your function and just write any non html thing. Then put a die() or exit() and see if it’s being rendered properly. Then you can do further debugging.