SyntaxFix
Write A Post
Hire A Developer
Questions
write a button tag and on click function
var x = document.getElementById('codeRefer').innerHTML; document.getElementById('codeRefer').innerHTML = x;
write this all in onclick function