Toggle class onclick in plain inline JavaScript

by

Learn how to select an HTML element by class and toggle its class in JavaScript.

Set the background image using inline styles in Vue.js

by

In this tutorial, you’ll learn how to set background image using inline styles in Vue.js.

Untrack already tracked file in Git repository

by

Learn how to untrack a single file that has already been tracked in Git.

Conditionally enable/disable HTML attributes in Vue.js

by

In this tutorial, you’ll learn how to conditionally enable/disable HTML attributes in Vue.js components.

How to programmatically navigate using router in Vue.js

by

In this tutorial, you’ll learn how to navigate users programmatically using the $router.

How to select an HTML element in Vue.js

by

In this tutorial, you’ll learn how to select an HTML element using $refs in Vue.js.

Force reload the current page/component in Vue.js

by

In this tutorial, you’ll learn the basics of reloading a page in Vue.js.

How to disable input conditionally in Vue.js

by

In this tutorial, you’ll learn how to disable input field conditionally in Vue.js.

CSS3 properties that no longer need browser -prefixes-

by

CSS uses so-called ‘vendor’ prefixes, which are browser-specific prefixes.

Get featured image URL in WordPress

by

In this tutorial, you’ll learn how to get the featured image URL in WordPress.