Archives

ng-repeat-start

AngularJS, ng-repeat-start directive

- by

The ng-repeat directive repeats a single top-level element and its contents for each object or property that it process. There are times, however, when you need to repeat multiple top-level elements for each data object. Ng-repeat-start comes in help Since AngularJS 1.2, ng-repeat received two sibling directives named ng-repeat-start and ng-repeat-end. With these we can... View Article

Wordpress configuration

Moving WordPress configuration file

- by

By default, the WordPress configuration file is located in the root of your website. In the event that PHP stops functioning on your web server for any reason, you run the risk of this file being displayed in plaintext, which will give up your password and database information to visitors.   So, where do you... View Article

CSS3 category

How to style the CSS3 placeholder pseudo-element

- by

Forms represent a huge part of our live on the web. So even small enhancement features help us improve the user experience. The ::input-placeholder gives us a way to style the placeholder text. For those who don’t know, placeholder pseudo-element is a new HTML5 feature for displaying a text and provides a hint to the... View Article

Wordpress configuration

Using wp_localize_script() in WordPress

- by

I’ve recently used wp_localize_script function for building a custom contact form.   What is wp_localize_script? If you don’t know what wp_localize_script is and how it works you can read about it on the WordPress codex website. Localizes a registered script with data for a JavaScript variable.   How can it be useful for our code?... View Article