Commenting your Blogger Widgets

Sometimes it so happens that instead of using multiple HTML/JavaSricpt page elements in your Blogger Layout you use a single HTML/JavaSricpt page element & paste all the widget code snippets in that. It especially happens with Bloggers who are good with HTML. Since a single HTML/JavaScript page element contain multiple code snippets it is also not possible to use the "Title". What most people miss out is using proper comments in these page elements resulting in severe debugging problems when some widget is malfunctioning.

I suggest to name all the widgets used in the HTML/JavaScript page element at the top of the HTML/JavaScript page element by using comments in the format -

The screen-shot below would be of some help to you -



So don't forget to comment required code snippets.

No comments: