Get congratulations content from JavaBlackBelt on YOUR site/blog

Getting JavaBlackBelt congratulations content on your site cannot be easier:

You just have to write a litle piece of JavaScript code anywhere in the body of your html page.

For example, to get congratulations of the day for all countries write this code:

				
<script src="http://www.javablackbelt.com/js/jbb_congrats.js" type="text/javascript">
</script>
<script type="text/javascript" defer="defer">
	jbb_cong_days = "1";
	congrat();
</script>

And you'll get this:

Or, to get congratulations of the last five days for any country (in this case United States) write this code:

				
<script src="http://www.javablackbelt.com/js/jbb_congrats.js" type="text/javascript">
</script>
<script type="text/javascript" defer="defer">
	jbb_cong_days = "5";
	jbb_cong_country = "US";
	congrat();
</script>

You can provide any ISO country code to display congratulations for users from your country.
You may look to the ISO site to find the code of a specific country.

And you'll get this: