Hi there I was looking into creating an award badge that my cliens can embedd into their sites so I can get a backlink. Obviously I want control of the anchor text so I decided it is easier and nicer to create a javascript widget. I followed these instructions here similar questions answered but I want to add css and text to my badge so am wondering how to do that within the code. Any help is appreciated thanks. Here is the code
var scriptTag, badge;
scriptTag = document.getElementById('badge');
badge = document.createElement('DIV');
badge.innerHTML = '<p>Wow, cool!</p>';
scriptTag.parentNode.replaceChild(badge, scriptTag);
I was looking to create something like tripadvisor but without too much code tripadvisor badge