JavaScript string split tutorial

JavaScript string split tutorial

The split method in JavaScript The JavaScript split method is used to break a given string into pieces by a specified separator like a period (.), comma, space or a word/letter. The method returns an array of split strings. Syntax…

Demos and Full Guide
JavaScript replace method to change strings with 6 demos

JavaScript replace method to change strings with 6 demos

What is string replace method of JavaScript The JavaScript replace method is used to find and replace a given term in a string. For example:

  You have to provide the string to be replaced and string replaced by…

Demos and Full Guide
Learn JavaScript trim method to remove spaces with 2 examples

Learn JavaScript trim method to remove spaces with 2 examples

Purpose of trim in JavaScript The JavaScript trim method is used to remove the leading and trailing spaces in strings of JavaScript. For example, consider the following sentence:

  The spaces before “This” and after the word “tutorial” will…

Demos and Full Guide
A Bootstrap multi item carousel template

A Bootstrap multi item carousel template

Multi item Bootstrap carousel template This slider template is the continuation of HTML 5/ CSS 3 product template that was used in the previous part. In this template, I have displayed items in the Bootstrap multi-item carousel by using the…

Demos and Full Guide
jQuery toggleClass

jQuery toggleClass

How to use toggleClass method The toggleClass method is used to add or remove class(es) in the specified HTML elements. If the class is already applied, it will be removed at first action. If a class does not exist in…

Demos and Full Guide